From 98b0a27adcba8bcfe0d2890f4192994d261a1531 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 23 Feb 2025 19:57:51 -0700 Subject: [PATCH] ci: update docker sha --- .github/workflows/deploy-docker-github.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index 838e1d0f..df1eed36 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -236,6 +236,7 @@ jobs: id: task_release_set_timestamp run: | echo "DOCKER_IMAGE=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} + echo "DOCKER_SHA=${GITHUB_SHA}" >> $GITHUB_ENV echo "NOW=$(date +'%m-%d-%Y %H:%M:%S')" >> $GITHUB_ENV echo "NOW_SHORT=$(date +'%m-%d-%Y')" >> $GITHUB_ENV echo "NOW_LONG=$(date +'%m-%d-%Y %H:%M')" >> $GITHUB_ENV @@ -371,6 +372,7 @@ jobs: echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}" echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}" echo "docker image ......... ${{ env.DOCKER_IMAGE }}" + echo "docker sha ........... ${{ env.DOCKER_SHA }}" # # # Release › Github › Build and Push › Arm64 @@ -423,7 +425,7 @@ jobs: - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` - - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}@sha256:${{ github.sha }}` + - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}@sha256:${{ env.DOCKER_SHA }}` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Github` https://github.com/${{ github.repository }} - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` @@ -489,6 +491,7 @@ jobs: id: task_release_set_timestamp run: | echo "DOCKER_IMAGE=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} + echo "DOCKER_SHA=${GITHUB_SHA}" >> $GITHUB_ENV echo "NOW=$(date +'%m-%d-%Y %H:%M:%S')" >> $GITHUB_ENV echo "NOW_SHORT=$(date +'%m-%d-%Y')" >> $GITHUB_ENV echo "NOW_LONG=$(date +'%m-%d-%Y %H:%M')" >> $GITHUB_ENV @@ -625,6 +628,7 @@ jobs: echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}" echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}" echo "docker image ......... ${{ env.DOCKER_IMAGE }}" + echo "docker sha ........... ${{ env.DOCKER_SHA }}" # # # Release › Github › Build and Push › Amd64 @@ -676,7 +680,7 @@ jobs: - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` - - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}@sha256:${{ github.sha }}` + - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}@sha256:${{ env.DOCKER_SHA }}` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Github` https://github.com/${{ github.repository }} - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`