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 adbb5c1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 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,15 +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
working-directory: /tmp/digests
run: |
# shellcheck disable=SC2046
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%1$s ghcr.io/${{ env.REGISTRY_IMAGE }}@sha256:%1$s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect "$REGISTRY_IMAGE:${{ steps.meta.outputs.version }}"

0 comments on commit adbb5c1

Please sign in to comment.