Inject DOCKER_META_IMAGES and DOCKER_META_VERSION args in bake definition (#37)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-12-24 16:45:28 +01:00
committed by GitHub
parent b500d9c7b5
commit db66d4df79
4 changed files with 44 additions and 4 deletions

6
dist/index.js generated vendored
View File

@ -434,7 +434,11 @@ class Meta {
target: {
'ghaction-docker-meta': {
tags: this.tags(),
labels: jsonLabels
labels: jsonLabels,
args: {
DOCKER_META_IMAGES: this.inputs.images.join(','),
DOCKER_META_VERSION: this.version.main
}
}
}
}, null, 2));