feat: upgrade to v2

This commit is contained in:
Abdud Dayan Adeeb 2021-02-15 17:26:10 -05:00
parent e7a9a2b25a
commit 4d955dc997
2 changed files with 14 additions and 4 deletions

View file

@ -7,7 +7,7 @@
#### Typical Use Case
```yaml
- uses: addnab/docker-run-action@v1
- uses: addnab/docker-run-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
@ -21,7 +21,7 @@
#### run a privately-owned image
```yaml
- uses: addnab/docker-run-action@v1
- uses: addnab/docker-run-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
@ -36,7 +36,7 @@
with:
repository: test-image
push: false
- uses: addnab/docker-run-action@v1
- uses: addnab/docker-run-action@v2
with:
image: test-image:latest
run: echo "hello world"
@ -46,7 +46,7 @@
#### use a specific shell (default: sh).
*Note: The shell must be installed in the container*
```yaml
- uses: addnab/docker-run-action@v1
- uses: addnab/docker-run-action@v2
with:
image: docker:latest
shell: bash

10
RELEASES.md Normal file
View file

@ -0,0 +1,10 @@
# addnab/docker-run-action Releases
### 2.0.0
- Added support for networking with other containers [#3](https://github.com/addnab/docker-run-action/pull/3) [#7](https://github.com/addnab/docker-run-action/pull/7)
- Added tests [#7](https://github.com/addnab/docker-run-action/pull/7)
### 1.0.0
- Initial release