From b500d9c7b58dc41faecb7b4d263ab212e5f698dd Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 24 Dec 2020 14:06:20 +0100 Subject: [PATCH] Missing entry in action.yml --- CHANGELOG.md | 4 ++++ README.md | 26 ++++++++++++++++++++++++++ action.yml | 3 +++ 3 files changed, 33 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a350956..d622b33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.10.1 (2020/12/24) + +* Missing entry in `action.yml` + ## 1.10.0 (2020/12/24) * Add `bake-file` output (#36) diff --git a/README.md b/README.md index 4ccc214..ce259b9 100644 --- a/README.md +++ b/README.md @@ -220,6 +220,32 @@ jobs: build ``` +Content of `${{ steps.docker_meta.outputs.bake-file }}` file will look like this: + +```json +{ + "target": { + "ghaction-docker-meta": { + "tags": [ + "name/app:1.1.1", + "name/app:1.1", + "name/app:latest" + ], + "labels": { + "org.opencontainers.image.title": "Hello-World", + "org.opencontainers.image.description": "This your first repo!", + "org.opencontainers.image.url": "https://github.com/octocat/Hello-World", + "org.opencontainers.image.source": "https://github.com/octocat/Hello-World", + "org.opencontainers.image.version": "1.1.1", + "org.opencontainers.image.created": "2020-01-10T00:30:00.000Z", + "org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071", + "org.opencontainers.image.licenses": "MIT" + } + } + } +} +``` + ## Customizing ### inputs diff --git a/action.yml b/action.yml index 5e8c10b..257170b 100644 --- a/action.yml +++ b/action.yml @@ -50,6 +50,9 @@ inputs: tag-custom-only: description: 'Only use tag-custom as Docker tags' required: false + label-custom: + description: 'List of custom labels' + required: false sep-tags: description: 'Separator to use for tags output (default \n)' required: false