Skip to content

Commit

Permalink
Merge branch 'TheEssem:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bingxin666 authored Feb 12, 2025
2 parents c7df936 + 2ffda8d commit dfaf91d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
# Transform multi-line variable into comma-separated variable
image_names=${PUSH_TO_IMAGES//$'\n'/,}
echo "IMAGE_NAMES=${image_names%,}" >> $GITHUB_ENV
image_names_split=${image_names%,}
echo "IMAGE_NAMES=${image_names_split,,}" >> $GITHUB_ENV
- uses: docker/setup-buildx-action@v3
id: buildx
Expand Down Expand Up @@ -160,11 +161,11 @@ jobs:
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
echo "$PUSH_TO_IMAGES" | xargs -I{} \
echo "${PUSH_TO_IMAGES,,}" | xargs -I{} \
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '{}@sha256:%s ' *)
- name: Inspect image
run: |
echo "$PUSH_TO_IMAGES" | xargs -i{} \
echo "${PUSH_TO_IMAGES,,}" | xargs -i{} \
docker buildx imagetools inspect {}:${{ steps.meta.outputs.version }}

0 comments on commit dfaf91d

Please sign in to comment.