mirror of
https://github.com/addnab/docker-run-action.git
synced 2024-12-26 18:51:03 +08:00
feat: upgrade to v2
This commit is contained in:
parent
e7a9a2b25a
commit
4d955dc997
@ -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
10
RELEASES.md
Normal 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
|
Loading…
x
Reference in New Issue
Block a user