From 3d77813e6aa74459eaccfd75ee29f7bd00be03f3 Mon Sep 17 00:00:00 2001 From: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com> Date: Thu, 14 Dec 2023 09:55:19 +0100 Subject: [PATCH] update cosing image name Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com> --- .github/workflows/docker-images.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index b80445e..7f02f41 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -58,7 +58,8 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: Sign the images with GitHub OIDC Token + - name: Sign the images with GitHub OIDC Token env: + DOCKER_IMAGE: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} DIGEST: ${{ steps.build_and_push.outputs.digest }} - run: cosign sign --yes "${ REGISTRY }/${ IMAGE_NAME }@${DIGEST}" \ No newline at end of file + run: cosign sign --yes "${DOCKER_IMAGE}@${DIGEST}" \ No newline at end of file