diff --git a/.github/workflows/github-actions-build.yaml b/.github/workflows/github-actions-build.yaml index 3a2b479..d09d4a2 100644 --- a/.github/workflows/github-actions-build.yaml +++ b/.github/workflows/github-actions-build.yaml @@ -114,7 +114,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max platforms: ${{ matrix.OS }}/${{ matrix.ARCH }} - outputs: type=image,name=${{ fromJSON(steps.meta.outputs.json).args['DOCKER_META_IMAGES'] }},push-by-digest=true,name-canonical=true,push=true + outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true # Sign the resulting Docker image digest except on PRs. # This will only write to the public Rekor transparency log when the Docker # repository is public to avoid leaking data. If you would like to publish @@ -173,8 +173,8 @@ jobs: working-directory: /tmp/digests run: | docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ - $(printf '${{ fromJSON(steps.meta.outputs.json).args['DOCKER_META_IMAGES'] }}@sha256:%s ' *) + $(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *) - name: Inspect image run: | - docker buildx imagetools inspect ${{ fromJSON(steps.meta.outputs.json).args['DOCKER_META_IMAGES'] }}:${{ steps.meta.outputs.version }} \ No newline at end of file + docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }} \ No newline at end of file