From 7f3723014c03f490406b24b009e5e80e4b1491be Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 23 Feb 2025 19:24:42 -0700 Subject: [PATCH] ci: update `env.IMAGE_NAME` --- .github/workflows/deploy-docker-github.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index 864de5dc..c7aee7c9 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -239,7 +239,7 @@ jobs: 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 + 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.REPO }}" + echo "repo ................. ${{ env.IMAGE_NAME }}" # # # 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.REPO }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` + - Pull: `docker pull ghcr.io/${{ env.IMAGE_NAME }}:${{ 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' || '' }}` @@ -623,7 +623,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.REPO }}" + echo "repo ................. ${{ env.IMAGE_NAME }}" # # # Release › Github › Build and Push › Amd64 @@ -674,7 +674,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.REPO }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` + - Pull: `docker pull ghcr.io/${{ env.IMAGE_NAME }}:${{ 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' || '' }}`