ci: fix template injection by passing tags through env vars
This commit is contained in:
@@ -160,9 +160,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Create multi-arch manifests
|
- name: Create multi-arch manifests
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
TAGS: ${{ steps.meta.outputs.tags }}
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
tags="${{ steps.meta.outputs.tags }}"
|
tags="$TAGS"
|
||||||
echo "Creating manifests for tags:"
|
echo "Creating manifests for tags:"
|
||||||
printf '%s\n' "$tags"
|
printf '%s\n' "$tags"
|
||||||
while IFS= read -r tag; do
|
while IFS= read -r tag; do
|
||||||
@@ -192,9 +194,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Cosign sign all tags (keyless OIDC)
|
- name: Cosign sign all tags (keyless OIDC)
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
TAGS: ${{ steps.meta.outputs.tags }}
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
tags="${{ steps.meta.outputs.tags }}"
|
tags="$TAGS"
|
||||||
printf '%s\n' "$tags"
|
printf '%s\n' "$tags"
|
||||||
while IFS= read -r tag; do
|
while IFS= read -r tag; do
|
||||||
[ -z "$tag" ] && continue
|
[ -z "$tag" ] && continue
|
||||||
|
|||||||
Reference in New Issue
Block a user