From 64638aec740cb83d8623f0ca531f3b7b62c68207 Mon Sep 17 00:00:00 2001 From: Yugandharkumar Date: Tue, 20 Feb 2024 13:17:51 +0530 Subject: [PATCH] Update deck-oes.yml --- .github/workflows/deck-oes.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deck-oes.yml b/.github/workflows/deck-oes.yml index 6b1826b7fc2..b53ecf3f9a4 100644 --- a/.github/workflows/deck-oes.yml +++ b/.github/workflows/deck-oes.yml @@ -29,7 +29,10 @@ jobs: id: build_variables run: | echo ::set-output name=REPO::ubi8-deck-cve - echo ::set-output name=VERSION::"1.30.1$(date --utc +'%Y%m%d')" + #echo ::set-output name=VERSION::"1.30.1$(date --utc +'%Y%m%d')" + echo ::set-output name=VERSION::"1.30.1" + echo "::set-output name=GITHASH::$(git rev-parse --short HEAD)" + echo "::set-output name=BUILDDATE::$(date -u +"%Y%m%d%H%M")" - name: Login to Quay uses: docker/login-action@v1 # use service account flow defined at: https://github.com/docker/login-action#service-account-based-authentication-1 @@ -60,4 +63,5 @@ jobs: file: docker/ubi8/Dockerfile push: true tags: | - "${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}" + "${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.BUILDDATE }}" +