2
0
Fork 0
mirror of https://code.forgejo.org/docker/metadata-action.git synced 2025-06-27 21:05:53 +00:00

bake: split definition into two files

Allows to either include tags or labels or both definitions.
Keep bake-file output for backward compatibility.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-11-22 22:46:29 +01:00
parent 62339db73c
commit b94479639a
No known key found for this signature in database
GPG key ID: ADE44D8C9D44FBE4
6 changed files with 443 additions and 281 deletions

View file

@ -44,10 +44,14 @@ outputs:
description: 'Generated Docker tags'
labels:
description: 'Generated Docker labels'
bake-file:
description: 'Bake definiton file'
json:
description: 'JSON output of tags and labels'
bake-file-tags:
description: 'Bake definition file with tags'
bake-file-labels:
description: 'Bake definition file with labels'
bake-file:
description: 'Bake definition file with tags and labels'
runs:
using: 'node20'