Skip to content

Commit

Permalink
feat: upgrade to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
addnab committed Feb 15, 2021
1 parent e7a9a2b commit 4d955dc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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"
Expand All @@ -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
Expand Down
10 changes: 10 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4d955dc

Please sign in to comment.