From dd7f7005b2f3b32d9bee824c149251b180c66d20 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 17 Mar 2026 17:35:38 -0400 Subject: [PATCH] ci: fix template injection by passing tags through env vars --- .github/workflows/publish-image.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 255ea2c27..a2c67a1e9 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -160,9 +160,11 @@ jobs: - name: Create multi-arch manifests shell: bash + env: + TAGS: ${{ steps.meta.outputs.tags }} run: | set -eu - tags="${{ steps.meta.outputs.tags }}" + tags="$TAGS" echo "Creating manifests for tags:" printf '%s\n' "$tags" while IFS= read -r tag; do @@ -192,9 +194,11 @@ jobs: - name: Cosign sign all tags (keyless OIDC) shell: bash + env: + TAGS: ${{ steps.meta.outputs.tags }} run: | set -eu - tags="${{ steps.meta.outputs.tags }}" + tags="$TAGS" printf '%s\n' "$tags" while IFS= read -r tag; do [ -z "$tag" ] && continue