Skip to content

Commit

Permalink
test: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DrummyFloyd committed Jan 7, 2025
1 parent 35b51b5 commit d4cd2b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ jobs:
if [ -n "${{ secrets.GHCR_TOKEN }}" ]; then
REGISTRY_IMAGE="ghcr.io/${{ github.repository_owner }}/${{ inputs.image_name }}"
if [ "$IMAGES" = "" ]; then
IMAGES="${REGISTRY_IMAGE}"
IMAGES="ghcr.io/${REGISTRY_IMAGE}"
else
IMAGES="$IMAGES,${REGISTRY_IMAGE}"
IMAGES="$IMAGES,ghcr.io/${REGISTRY_IMAGE}"
fi
PUSH=true
echo "has_github_token=true" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,6 +240,7 @@ jobs:
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
echo $DOCKER_METADATA_OUTPUT_JSON |jq
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ needs.docker.outputs.images }}@sha256:%s ' *)
# docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
Expand Down

0 comments on commit d4cd2b7

Please sign in to comment.