mirror of
https://github.com/docker/metadata-action.git
synced 2025-04-10 03:20:24 +02:00
Inject DOCKER_META_IMAGES and DOCKER_META_VERSION args in bake definition
This commit is contained in:
parent
b500d9c7b5
commit
1cabd6cd9d
@ -240,6 +240,10 @@ Content of `${{ steps.docker_meta.outputs.bake-file }}` file will look like this
|
||||
"org.opencontainers.image.created": "2020-01-10T00:30:00.000Z",
|
||||
"org.opencontainers.image.revision": "90dd6032fac8bda1b6c4436a2e65de27961ed071",
|
||||
"org.opencontainers.image.licenses": "MIT"
|
||||
},
|
||||
"args": {
|
||||
"DOCKER_META_IMAGES": "name/app",
|
||||
"DOCKER_META_VERSION": "1.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
@ -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));
|
||||
|
@ -164,7 +164,11 @@ export 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
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user