From 12e26873b237954809179d5efa78d332159b0f48 Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 28 Aug 2024 10:47:37 +1200 Subject: [PATCH] Append github sha to image tag. --- .github/workflows/manual-rhacs-pipeline.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual-rhacs-pipeline.yaml b/.github/workflows/manual-rhacs-pipeline.yaml index 1c604e5..a4841d8 100644 --- a/.github/workflows/manual-rhacs-pipeline.yaml +++ b/.github/workflows/manual-rhacs-pipeline.yaml @@ -18,7 +18,7 @@ jobs: uses: redhat-actions/buildah-build@v2 with: image: quay.io/rh_ee_jablair/ubi9 - tags: v0.0.1 + tags: v0.0.1-${{ github.sha }} containerfiles: | ./2024-08-28-rhacs-actions-pipeline/Containerfile @@ -26,7 +26,7 @@ jobs: uses: redhat-actions/push-to-registry@v2 with: image: ubi9 - tags: v0.0.1 + tags: v0.0.1-${{ github.sha }} registry: quay.io/rh_ee_jablair username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} @@ -55,4 +55,4 @@ jobs: - name: Scan image with roxctl shell: bash run: | - roxctl image scan --output=table --image="quay.io/rh_ee_jablair/ubi9:v0.0.1" --insecure-skip-tls-verify + roxctl image scan --output=table --image="quay.io/rh_ee_jablair/ubi9:v0.0.1-${{ github.sha }}" --insecure-skip-tls-verify