Skip to content

Commit

Permalink
Add dynamic docker labels on release (#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismuellner committed Dec 15, 2022
1 parent 2c14dcd commit f246449
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,17 @@ jobs:
id: prep
run: |
hack/build/ci/prepare-build-variables.sh
- name: Docker metadata
uses: docker/metadata-action@57396166ad8aefe6098280995947635806a0e6ea # v4.1.1
id: meta
with:
images: dynatrace/dynatrace-operator
tags: ${{ steps.prep.outputs.docker_image_tag }}
labels: |
${{ steps.prep.outputs.docker_image_labels }}
vcs-ref=${{ github.sha }}
outputs:
labels: ${{ steps.prep.outputs.docker_image_labels }}
labels: ${{ steps.meta.outputs.labels }}
version: ${{ steps.prep.outputs.docker_image_tag }}

build:
Expand Down

0 comments on commit f246449

Please sign in to comment.