mirror of
https://github.com/docker/metadata-action.git
synced 2024-12-22 12:55:33 +00:00
2f83320d17
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
|
|
name: 'Docker Meta'
|
|
description: "GitHub Action to extract metadata (tags, labels) for Docker"
|
|
author: 'crazy-max'
|
|
branding:
|
|
color: 'blue'
|
|
icon: 'layers'
|
|
|
|
inputs:
|
|
images:
|
|
description: 'List of Docker images to use as base name for tags'
|
|
required: true
|
|
tags:
|
|
description: 'List of tags as key-value pair attributes'
|
|
required: false
|
|
flavor:
|
|
description: 'Flavors to apply'
|
|
required: false
|
|
labels:
|
|
description: 'List of custom labels'
|
|
required: false
|
|
sep-tags:
|
|
description: 'Separator to use for tags output (default \n)'
|
|
required: false
|
|
sep-labels:
|
|
description: 'Separator to use for labels output (default \n)'
|
|
required: false
|
|
github-token:
|
|
description: 'GitHub Token as provided by secrets'
|
|
default: ${{ github.token }}
|
|
required: true
|
|
|
|
outputs:
|
|
version:
|
|
description: 'Generated Docker image version'
|
|
tags:
|
|
description: 'Generated Docker tags'
|
|
labels:
|
|
description: 'Generated Docker labels'
|
|
bake-file:
|
|
description: 'Bake definiton file'
|
|
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|