commit 5a479a1eb935ccbd40c829048d5a0b1616685992
parent 3a0effa35ddf8e6fcb7d4618559109b53f5ce058
Author: MTRNord <mtrnord1@gmail.com>
Date: Thu, 15 Feb 2024 22:12:30 +0100
Fix pushing hopefully
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build_docker.yaml b/.github/workflows/build_docker.yaml
@@ -62,9 +62,9 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
- outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=false,name-canonical=true,push=false
+ outputs: type=image,name=${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
platforms: ${{ matrix.platform }}
- tags: ${{ steps.meta.outputs.tags }}
+ tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VERSION=${{ steps.git_info.outputs.VERSION }}
@@ -109,7 +109,7 @@ jobs:
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
- $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
+ $(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
- name: Inspect image
run: |
- docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ 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