Skip to content

Commit

Permalink
Added version @v1 to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlerdominik committed Apr 18, 2021
1 parent 94ee180 commit b7201d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run a step in a (private) container.

### Simple step wrapped in a container
```yaml
- uses: kohlerdominik/docker-run-action
- uses: kohlerdominik/docker-run-action@v1
with:
image: alpine:latest
run: |
Expand All @@ -28,7 +28,7 @@ Run a step in a (private) container.
registry: ghcr.io
username: ${{ secrets.MY_USERNAME }}
password: ${{ secrets.MY_PASSWORD }}
- uses: kohlerdominik/docker-run-action
- uses: kohlerdominik/docker-run-action@v1
with:
image: ghcr.io/${{ github.repository }}/private-image:latest
volumes: ${{ github.workspace }}:/workspace
Expand All @@ -44,7 +44,7 @@ See also [Docker Login Action](https://github.com/marketplace/actions/docker-log
with:
tags: application:latest
push: false
- uses: kohlerdominik/docker-run-action
- uses: kohlerdominik/docker-run-action@v1
with:
image: application:latest
run: ./verify-data.sh
Expand All @@ -53,7 +53,7 @@ See alo [Docker Push Action](https://github.com/marketplace/actions/build-and-pu
### Customize the action
```yaml
- uses: kohlerdominik/docker-run-action
- uses: kohlerdominik/docker-run-action@v1
with:
# public, private or local image
image: ubuntu:latest
Expand Down

0 comments on commit b7201d7

Please sign in to comment.