Skip to content

Commit

Permalink
Modified command for creating manifest list
Browse files Browse the repository at this point in the history
  • Loading branch information
sharonsyh committed Aug 4, 2024
1 parent 46382ee commit 2c6e79e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/push_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,14 @@ jobs:
digests=$(find /tmp/digests -type f -name '*.digest' | xargs cat)
cmd_primary="docker buildx imagetools create $tags"
for digest in $digests; do
cmd_primary="$cmd_primary $REGISTRY_IMAGE@sha256:${digest#sha256:} $ADDITIONAL_REGISTRY_IMAGE@sha256:${digest#sha256:}"
cmd_primary="$cmd_primary $REGISTRY_IMAGE@sha256:${digest#sha256:}"
done
cmd_secondary="docker buildx imagetools create $tags"
for digest in $digests; do
cmd_secondary="$cmd_secondary $ADDITIONAL_REGISTRY_IMAGE@sha256:${digest#sha256:}"
done
echo "Running primary command: $cmd_primary"
eval $cmd_primary
eval $cmd_secondary
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}

0 comments on commit 2c6e79e

Please sign in to comment.