mirror of
https://forgejo.merr.is/annika/actions-docker-extract.git
synced 2025-12-11 12:28:49 -05:00
📝 Document destination output (#2)
This commit is contained in:
parent
bf80417647
commit
f393b455c4
2 changed files with 8 additions and 2 deletions
|
|
@ -18,6 +18,12 @@ All inputs are required.
|
|||
| `image` | Docker Image to extract files from | `alpine` |
|
||||
| `path` | Path (from root) to a file or directory within Image | `/etc/motd` |
|
||||
|
||||
## Outputs
|
||||
|
||||
| ID | Description | Example |
|
||||
| --- | ----------- | ------- |
|
||||
| `destination` | Destination path containing the extracted file(s) | `.extracted-1598717412` |
|
||||
|
||||
## Examples
|
||||
|
||||
### Build, Extract
|
||||
|
|
@ -64,7 +70,7 @@ jobs:
|
|||
with:
|
||||
registry: docker.pkg.github.com
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
password: ${{ github.token }}
|
||||
- uses: shrink/actions-docker-extract@v1
|
||||
with:
|
||||
image: ${{ github.repository }}/example-image:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue