From 03084ddafe7d52e9144b85406adac4a016b5c145 Mon Sep 17 00:00:00 2001 From: kennyd3d Date: Fri, 23 Aug 2024 15:20:17 -0700 Subject: [PATCH] change sha --- .github/workflows/dev.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 4464c9c..f8c4046 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -35,8 +35,7 @@ jobs: - name: Preparing job run: | - echo "SHA_SHORT=${GITHUB_SHA::7}" >> $GITHUB_ENV - echo "IMAGE_DEV=kennyd3d/${{ env.ARTIFACT_NAME }}:$SHA_SHORT" >> $GITHUB_ENV + echo "IMAGE_DEV=kennyd3d/${{ env.ARTIFACT_NAME }}:${GITHUB_SHA::7}" >> $GITHUB_ENV - name: Login to Docker Hub uses: docker/login-action@v3 @@ -85,8 +84,7 @@ jobs: - name: Preparing job run: | - echo "SHA_SHORT=${GITHUB_SHA::7}" >> $GITHUB_ENV - echo "IMAGE_DEV=kennyd3d/${{ env.ARTIFACT_NAME }}:$SHA_SHORT" >> $GITHUB_ENV + echo "IMAGE_DEV=kennyd3d/${{ env.ARTIFACT_NAME }}:${GITHUB_SHA::7}" >> $GITHUB_ENV echo "IMAGE_QA=kennyd3d/${{ env.ARTIFACT_NAME }}:${{ github.event.release.name }}" >> $GITHUB_ENV - name: Retag and push Docker Image with Release Name