From ad6498ad992af414161204c5a22293c19f3a31ba Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Sun, 24 Mar 2024 22:55:50 +0200 Subject: [PATCH] remove pull request target and fix wrong image name env var --- .github/workflows/cicd.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index d1013b6..d3fc90c 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -4,7 +4,6 @@ on: push: branches: ["**"] tags: ["*.*.*"] - pull_request: release: types: [created] @@ -116,8 +115,8 @@ 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 }}/${{ github.repository }}@sha256:%s ' *) - name: Inspect image run: | - docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }} + docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ github.repository }}:${{ steps.meta.outputs.version }}