Skip to content

Commit

Permalink
ci: allow push on release
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Apr 4, 2024
1 parent 2561b2e commit d6b85b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ jobs:
- name: Create manifest list and push
run: |
# Aggregate all tags from the meta files
TAGS=$(jq -r '.target."docker-metadata-action".tags[]' /tmp/meta/bake-meta-*.json | sort -u)
TAGS=$(jq -r '.target."docker-metadata-action".tags[]' /tmp/bake-meta-*.json | sort -u)
# Loop through each tag and create a manifest list
for TAG in $TAGS; do
FULL_TAGS=()
for FILE in /tmp/meta/bake-meta-*.json; do
for FILE in /tmp/bake-meta-*.json; do
if jq -e --arg TAG "$TAG" '.target."docker-metadata-action".tags[] | select(. == $TAG)' $FILE > /dev/null; then
# Extract the repository and digest for the current platform
REPO=$(jq -r --arg TAG "$TAG" '.target."docker-metadata-action".tags[] | select(. == $TAG)' $FILE | cut -d':' -f1)
Expand Down

0 comments on commit d6b85b0

Please sign in to comment.