From 4633ac86d14c47b6e91a9d3a6817f9f0ee32d3d0 Mon Sep 17 00:00:00 2001 From: Nikhil Soni Date: Thu, 25 Jul 2024 13:11:58 +0530 Subject: [PATCH] Use beta for naming image --- .github/workflows/maven.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 58d6bf8c63c..ad62ba93aee 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -78,7 +78,7 @@ jobs: shell: bash - name: Get version tag - run: echo "##[set-output name=version;]$(echo `git ls-remote https://${{ secrets.my_pat }}@github.com/atlanhq/${REPOSITORY_NAME}.git ${{ steps.get_branch.outputs.branch }} | awk '{ print $1}' | cut -c1-7`)abcd" + run: echo "##[set-output name=version;]$(echo `git ls-remote https://${{ secrets.my_pat }}@github.com/atlanhq/${REPOSITORY_NAME}.git ${{ steps.get_branch.outputs.branch }} | awk '{ print $1}' | cut -c1-7`)wxyz" id: get_version - name: Set up Buildx @@ -103,8 +103,8 @@ jobs: provenance: true push: true tags: | - ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:latest - ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:${{ steps.get_version.outputs.version }} +# ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:latest + ghcr.io/atlanhq/${{ github.event.repository.name }}-beta:${{ steps.get_version.outputs.version }} - name: Scan Image uses: aquasecurity/trivy-action@master