Inject DOCKER_META_IMAGES and DOCKER_META_VERSION args in bake definition

This commit is contained in:
CrazyMax 2020-12-24 16:36:05 +01:00
parent b500d9c7b5
commit 1cabd6cd9d
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
3 changed files with 14 additions and 2 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));