From c95111a568f8c400eaf4a1e06cd9062942522b55 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 23 Feb 2025 19:28:38 -0700 Subject: [PATCH] ci: update output --- .github/workflows/deploy-docker-github.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index c7aee7c9..0e4e7dcb 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -235,11 +235,11 @@ jobs: - name: '🕛 Get Timestamp' id: task_release_set_timestamp run: | + echo "DOCKER_IMAGE=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >> ${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 echo "NOW_DOCKER_LABEL=$(date +'%Y%m%d')" >> $GITHUB_ENV - echo "IMAGE_NAME=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV} # # # Release › Github › Checkout › Arm64 @@ -370,7 +370,7 @@ jobs: echo "env.AUTHOR ........... ${{ env.IMAGE_GHCR_AUTHOR }}" echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}" echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}" - echo "repo ................. ${{ env.IMAGE_NAME }}" + echo "repo ................. ${{ env.DOCKER_IMAGE }}" # # # Release › Github › Build and Push › Arm64 @@ -422,7 +422,7 @@ jobs: - https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }} - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - - Pull: `docker pull ghcr.io/${{ env.IMAGE_NAME }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` + - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` - 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' || '' }}` @@ -487,11 +487,12 @@ jobs: - name: '🕛 Get Timestamp' id: task_release_set_timestamp run: | + echo "DOCKER_IMAGE=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >> ${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 echo "NOW_DOCKER_LABEL=$(date +'%Y%m%d')" >> $GITHUB_ENV - echo "REPO=${GITHUB_REPOSITORY@L}" >> $GITHUB_ENV + # # # Release › Github › Checkout › Amd64 @@ -623,7 +624,7 @@ jobs: echo "env.AUTHOR ........... ${{ env.IMAGE_GHCR_AUTHOR }}" echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}" echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}" - echo "repo ................. ${{ env.IMAGE_NAME }}" + echo "repo ................. ${{ env.DOCKER_IMAGE }}" # # # Release › Github › Build and Push › Amd64 @@ -674,7 +675,7 @@ jobs: - https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }} - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - - Pull: `docker pull ghcr.io/${{ env.IMAGE_NAME }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` + - Pull: `docker pull ghcr.io/${{ env.DOCKER_IMAGE }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` - 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' || '' }}`