mirror of
https://forgejo.merr.is/annika/actions-docker-extract.git
synced 2025-12-11 12:02:05 -05:00
docs: Fix examples in README (#10)
Since the example uses `steps.extract.outputs`, it needs to assign `id: extract` to the step first.
This commit is contained in:
parent
97141378a4
commit
23130a485b
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ jobs:
|
||||||
repository: my-example-image
|
repository: my-example-image
|
||||||
tags: latest
|
tags: latest
|
||||||
- uses: shrink/actions-docker-extract@v1
|
- uses: shrink/actions-docker-extract@v1
|
||||||
|
id: extract
|
||||||
with:
|
with:
|
||||||
image: my-example-image
|
image: my-example-image
|
||||||
path: /app/.
|
path: /app/.
|
||||||
|
|
@ -76,6 +77,7 @@ jobs:
|
||||||
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@v1
|
||||||
|
id: extract
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/${{ github.repository }}:latest
|
image: ghcr.io/${{ github.repository }}:latest
|
||||||
path: /app/.
|
path: /app/.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue