From f393b455c4bee3de07ee7cfe6da96f8e2b4e53a9 Mon Sep 17 00:00:00 2001 From: Samuel Ryan Date: Sat, 29 Aug 2020 18:07:22 +0100 Subject: [PATCH] :pencil: Document `destination` output (#2) --- README.md | 8 +++++++- package.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 576f3ab..e468198 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 816c456..1235fdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shrink/actions-docker-extract", - "version": "0.1.0", + "version": "1.0.1", "description": "Extract from a Docker Image", "author": "Samuel Ryan ", "homepage": "https://github.com/shrink/actions-docker-extract#readme",