Skip to content

Commit

Permalink
Version Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlerdominik committed Feb 27, 2024
1 parent 9dc5fa2 commit 170cd7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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@v1
- uses: kohlerdominik/docker-run-action@v2
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@v1
- uses: kohlerdominik/docker-run-action@v2
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@v1
- uses: kohlerdominik/docker-run-action@v2
with:
image: application:latest
run: ./verify-data.sh
Expand All @@ -53,7 +53,7 @@ See also [Docker Push Action](https://github.com/marketplace/actions/build-and-p
### Use Github Environment Files
```yaml
- uses: kohlerdominik/docker-run-action@v1
- uses: kohlerdominik/docker-run-action@v2
with:
image: ubuntu:latest
volumes: ${{ github.workspace }}:/workspace
Expand All @@ -67,7 +67,7 @@ See also [Environment Files](https://docs.github.com/en/actions/using-workflows/
### Customize the action
```yaml
- uses: kohlerdominik/docker-run-action@v1
- uses: kohlerdominik/docker-run-action@v2
with:
# public, private or local image
image: ubuntu:latest
Expand Down

0 comments on commit 170cd7d

Please sign in to comment.