Fix docker metadata tags input in release workflow (#7390)

The inline comment after type=ref,event=tag was inside the tags block scalar, so it was passed to docker/metadata-action as part of the tag spec, failing with "Invalid event". Move the comment above the block.

Co-authored-by: Michael Hogg <3495076+jedinerd@users.noreply.github.com>
This commit is contained in:
Michael Hogg 2026-10-03 17:35:06 -07:00 • committed by GitHub
parent 5dc5390880
commit b858d684cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,8 +147,9 @@ jobs:
images: ${{ env.GHCR_IMAGE }}
flavor: |
latest=auto
# if semver, also: type=semver,pattern={{version}} / {{major}}.{{minor}}
tags: |
type=ref,event=tag # if semver, also: type=semver,pattern={{version}} / {{major}}.{{minor}}
type=ref,event=tag
# Add OCI annotations to image index and publish tags
- name: "Create image index"