Skip to content

Commit 4d65325

Browse files
fix(docker-build-push-image): use labels from docker/metadata-action (#1502)
1 parent 56f31bf commit 4d65325

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actions/docker-build-push-image/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ runs:
265265
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
266266
with:
267267
images: ${{ steps.setup-vars.outputs.images }}
268+
labels: ${{ inputs.labels }}
268269
tags: ${{ inputs.tags }}
269270

270271
- name: Setup buildkitd-config
@@ -331,7 +332,7 @@ runs:
331332
cache-to: ${{ inputs.cache-to }}
332333
context: ${{ inputs.context }}
333334
file: ${{ inputs.file }}
334-
labels: ${{ inputs.labels }}
335+
labels: ${{ steps.meta.outputs.labels }}
335336
load: ${{ inputs.load == 'true' }}
336337
platforms: ${{ inputs.platforms }}
337338
outputs: ${{ inputs.outputs }}

0 commit comments

Comments
 (0)