Skip to content

Commit

Permalink
Fix the digests listing
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud authored Dec 20, 2024
1 parent 1ff1121 commit 2b7c1be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,11 @@ jobs:
CONTAINERNAME=$(echo '${{ steps.meta1.outputs.tags }}' | awk -F':' '{print $1}')
# Create manifest list
DIGESTS=$(cd /tmp/digests && find . -type f -exec echo "$CONTAINERNAME@sha256:{}" \; | sed 's/\.\//:/')
DIGESTS=""
for eachdir in $(ls /tmp/digests); do
DIGESTS_ARCH=$(cd /tmp/digests/$eachdir && find . -type f -exec echo "$CONTAINERNAME@sha256{}" \; | sed 's/\.\//:/')
DIGESTS="$DIGESTS $DIGESTS_ARCH"
done
docker buildx imagetools create $TAG_ARGS $DIGESTS
- name: Inspect image
Expand Down

0 comments on commit 2b7c1be

Please sign in to comment.