From 527fc2db5af92b43b08267592348ae3da76c4184 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 23 Feb 2025 19:13:03 -0700 Subject: [PATCH] ci: edit docker url and transform to lowercase --- .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 e9410b57..63bdae4f 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -239,6 +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}" # # # Release › Github › Checkout › Arm64 @@ -369,6 +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 }}" # # # Release › Github › Build and Push › Arm64 @@ -420,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/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` + - Pull: `docker pull ghcr.io/${{ env.REPO }}:${{ 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' || '' }}` @@ -489,6 +491,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}" # # # Release › Github › Checkout › Amd64 @@ -620,6 +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 }}" # # # Release › Github › Build and Push › Amd64 @@ -670,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/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` + - Pull: `docker pull ghcr.io/${{ env.REPO }}:${{ 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' || '' }}`