From b858d684cbf675171855d4ff9818ea0ffb20261a Mon Sep 17 00:00:00 2001 From: Michael Hogg Date: Sat, 3 Oct 2026 17:35:06 -0700 Subject: [PATCH] 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> --- .github/workflows/docker-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 967d94c58..7311240d7 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -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"