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 a7dfe29
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 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 @@ -69,7 +69,9 @@ jobs:
KOTLIN_VERSION=${{ inputs.kotlin-version }}
BASE_IMAGE=${{ inputs.base-image }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
outputs: |
type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
type=image,name=ghcr.io/${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- name: Test image
if: ${{ inputs.only-validate }}
shell: bash
Expand Down Expand Up @@ -113,7 +115,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 +142,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:%1s ghcr.io/${{ env.REGISTRY_IMAGE }}@sha256:%1s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect "$REGISTRY_IMAGE:${{ steps.meta.outputs.version }}"

0 comments on commit a7dfe29

Please sign in to comment.