From 3cebe4c6beb6b54eb268a4662319be010595a6bd Mon Sep 17 00:00:00 2001 From: Omri Shiv <327609+OmriShiv@users.noreply.github.com> Date: Fri, 10 May 2024 10:47:34 -0700 Subject: [PATCH] tag image with repo Signed-off-by: Omri Shiv <327609+OmriShiv@users.noreply.github.com> --- .github/workflows/build-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push.yaml b/.github/workflows/build-and-push.yaml index c7dd054..057f230 100644 --- a/.github/workflows/build-and-push.yaml +++ b/.github/workflows/build-and-push.yaml @@ -46,7 +46,7 @@ jobs: with: context: . push: true - tags: ${{ github.sha }} + tags: ${{ env.IMAGE_NAME }}:${{ github.sha }} labels: ${{ steps.meta.outputs.labels }} # This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."