Skip to content

Commit

Permalink
Fixed deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzo committed Jul 15, 2024
1 parent 165ba27 commit 176ef43
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-flavor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
config-inline: |
buildkitd-config-inline: |
[registry."docker.io"]
mirrors = ["mirror.gcr.io"]
- name: Login to Docker Hub
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
config-inline: |
buildkitd-config-inline: |
[registry."docker.io"]
mirrors = ["mirror.gcr.io"]
- name: Login to Docker Hub
Expand All @@ -140,14 +140,13 @@ jobs:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
${{ inputs.latest && 'type=raw,value=latest' || '' }}
${{ inputs.latest && 'type=raw,value=ghcr.io/latest' || '' }}
type=raw,value=${{ env.TAG_PREFIX }}
type=raw,value=ghcr.io/${{ env.TAG_PREFIX }}
- name: Create manifest list and push
- name: Create manifest list and push to Docker Hub
working-directory: /tmp/digests
shell: bash
run: |
# shellcheck disable=SC2046
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
docker buildx imagetools create $(jq -cr '.tags | map("-t " + . + "-t ghcr.io/" + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
- name: Inspect image
run: |
Expand Down

0 comments on commit 176ef43

Please sign in to comment.