From 1f9747b58408e3e8ef395eb6804257ad1bed56e2 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 23 Feb 2025 19:05:09 -0700 Subject: [PATCH] ci: add development or tag to docker pull command --- .github/workflows/deploy-docker-all.yml | 12 ++++++------ .github/workflows/deploy-docker-dockerhub.yml | 4 ++-- .github/workflows/deploy-docker-gitea.yml | 4 ++-- .github/workflows/deploy-docker-github.yml | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-docker-all.yml b/.github/workflows/deploy-docker-all.yml index e4823cca..b8f323c8 100755 --- a/.github/workflows/deploy-docker-all.yml +++ b/.github/workflows/deploy-docker-all.yml @@ -475,7 +475,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-' || '' }}arm64 + - Pull: `docker pull ghcr.io/${{ github.repository }}:${{ 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' || '' }}` @@ -725,7 +725,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-' || '' }}amd64 + - Pull: `docker pull ghcr.io/${{ github.repository }}:${{ 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' || '' }}` @@ -974,7 +974,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 ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}arm64 + - Pull: `docker pull ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Dockerhub` https://hub.docker.com/r/${{ env.IMAGE_DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }} - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` @@ -1224,7 +1224,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 ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}amd64 + - Pull: `docker pull ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Dockerhub` https://hub.docker.com/r/${{ env.IMAGE_DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }} - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` @@ -1474,7 +1474,7 @@ jobs: - https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}arm64 + - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Gitea` https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` @@ -1724,7 +1724,7 @@ jobs: - https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}amd64 + - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Gitea` https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` diff --git a/.github/workflows/deploy-docker-dockerhub.yml b/.github/workflows/deploy-docker-dockerhub.yml index c25cbe16..2853a7f1 100755 --- a/.github/workflows/deploy-docker-dockerhub.yml +++ b/.github/workflows/deploy-docker-dockerhub.yml @@ -420,7 +420,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 ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}amd64 + - Pull: `docker pull ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Dockerhub` https://hub.docker.com/r/${{ env.IMAGE_DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }} - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` @@ -670,7 +670,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 ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}amd64 + - Pull: `docker pull ${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Dockerhub` https://hub.docker.com/r/${{ env.IMAGE_DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }} - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` diff --git a/.github/workflows/deploy-docker-gitea.yml b/.github/workflows/deploy-docker-gitea.yml index 479195e0..a98372f0 100755 --- a/.github/workflows/deploy-docker-gitea.yml +++ b/.github/workflows/deploy-docker-gitea.yml @@ -420,7 +420,7 @@ jobs: - https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}arm64 + - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Gitea` https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` @@ -670,7 +670,7 @@ jobs: - https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}` - - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development-' || '' }}amd64 + - Pull: `docker pull git.binaryninja.net/${{ github.repository }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64` - Dry Run: `${{ inputs.DRY_RUN }}` - Source: `Gitea` https://git.binaryninja.net/${{ env.IMAGE_GITEA_USERNAME }}/${{ env.IMAGE_NAME }}/packages - Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}` diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index 551f41a6..e9410b57 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -420,7 +420,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-' || '' }}arm64 + - Pull: `docker pull ghcr.io/${{ github.repository }}:${{ 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' || '' }}` @@ -670,7 +670,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-' || '' }}amd64 + - Pull: `docker pull ghcr.io/${{ github.repository }}:${{ 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' || '' }}`