Skip to content

Commit a7bb190

Browse files
updating docker build pipeline
1 parent 93fa488 commit a7bb190

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docker-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ jobs:
7575

7676
- name: Push and sign Docker image with DCT
7777
run: |
78-
# Parse the tags from metadata output
79-
IFS=',' read -ra TAGS <<< "${{ steps.meta.outputs.tags }}"
80-
# Push each tag with Docker Content Trust enabled
81-
for tag in "${TAGS[@]}"; do
78+
# The tags are newline-separated, not comma-separated
79+
echo "${{ steps.meta.outputs.tags }}" | while read -r tag; do
8280
echo "Pushing and signing $tag"
8381
docker push $tag
8482
done

0 commit comments

Comments
 (0)