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:
Wylie Conlon 2021-10-19 17:02:11 -04:00 committed by GitHub
parent 97141378a4
commit 23130a485b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,7 @@ jobs:
repository: my-example-image
tags: latest
- uses: shrink/actions-docker-extract@v1
id: extract
with:
image: my-example-image
path: /app/.
@ -76,6 +77,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
- uses: shrink/actions-docker-extract@v1
id: extract
with:
image: ghcr.io/${{ github.repository }}:latest
path: /app/.