mirror of
https://forgejo.merr.is/annika/actions-docker-extract.git
synced 2025-12-11 12:02:05 -05:00
docs: Add v2 release to examples (#19)
This commit is contained in:
parent
8b30407722
commit
1c50308a3f
1 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
A GitHub Action for extracting files from a Docker Image.
|
A GitHub Action for extracting files from a Docker Image.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: shrink/actions-docker-extract@v1
|
- uses: shrink/actions-docker-extract@v2
|
||||||
with:
|
with:
|
||||||
image: "ghost:alpine"
|
image: "ghost:alpine"
|
||||||
path: "/var/lib/ghost/current/core/built/assets/."
|
path: "/var/lib/ghost/current/core/built/assets/."
|
||||||
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: my-example-image
|
repository: my-example-image
|
||||||
tags: latest
|
tags: latest
|
||||||
- uses: shrink/actions-docker-extract@v1
|
- uses: shrink/actions-docker-extract@v2
|
||||||
id: extract
|
id: extract
|
||||||
with:
|
with:
|
||||||
image: my-example-image
|
image: my-example-image
|
||||||
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GHCR_PAT }}
|
password: ${{ secrets.GHCR_PAT }}
|
||||||
- uses: shrink/actions-docker-extract@v1
|
- uses: shrink/actions-docker-extract@v2
|
||||||
id: extract
|
id: extract
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/${{ github.repository }}:latest
|
image: ghcr.io/${{ github.repository }}:latest
|
||||||
|
|
@ -97,7 +97,7 @@ or the commit hash of a tag (immutable).
|
||||||
```yaml
|
```yaml
|
||||||
✅ uses: shrink/actions-docker-extract@v2
|
✅ uses: shrink/actions-docker-extract@v2
|
||||||
✅ uses: shrink/actions-docker-extract@v2.0.0
|
✅ uses: shrink/actions-docker-extract@v2.0.0
|
||||||
✅ uses: shrink/actions-docker-extract@abde1147dd0d248b38feda9e75768c3d2b57eefc
|
✅ uses: shrink/actions-docker-extract@40400b42f4f8b663c647f535e2c6674658e39fc6
|
||||||
❌ uses: shrink/actions-docker-extract@main
|
❌ uses: shrink/actions-docker-extract@main
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue