mirror of
https://forgejo.merr.is/annika/actions-docker-extract.git
synced 2025-12-11 12:02:05 -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` |
|
| `image` | Docker Image to extract files from | `alpine` |
|
||||||
| `path` | Path (from root) to a file or directory within Image | `/etc/motd` |
|
| `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
|
## Examples
|
||||||
|
|
||||||
### Build, Extract
|
### Build, Extract
|
||||||
|
|
@ -64,7 +70,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
registry: docker.pkg.github.com
|
registry: docker.pkg.github.com
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ github.token }}
|
||||||
- uses: shrink/actions-docker-extract@v1
|
- uses: shrink/actions-docker-extract@v1
|
||||||
with:
|
with:
|
||||||
image: ${{ github.repository }}/example-image:latest
|
image: ${{ github.repository }}/example-image:latest
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@shrink/actions-docker-extract",
|
"name": "@shrink/actions-docker-extract",
|
||||||
"version": "0.1.0",
|
"version": "1.0.1",
|
||||||
"description": "Extract from a Docker Image",
|
"description": "Extract from a Docker Image",
|
||||||
"author": "Samuel Ryan <sam@samryan.co.uk>",
|
"author": "Samuel Ryan <sam@samryan.co.uk>",
|
||||||
"homepage": "https://github.com/shrink/actions-docker-extract#readme",
|
"homepage": "https://github.com/shrink/actions-docker-extract#readme",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue