From 36d200580b23ab131b93c81d88135f04bd0f1326 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 16 Nov 2023 10:28:28 -0800 Subject: [PATCH] Use a different name for the production-config containers --- .github/workflows/dockerize_dev.yml | 2 +- .github/workflows/dockerize_production.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dockerize_dev.yml b/.github/workflows/dockerize_dev.yml index 1d037ce7..288fdb8a 100644 --- a/.github/workflows/dockerize_dev.yml +++ b/.github/workflows/dockerize_dev.yml @@ -38,6 +38,6 @@ jobs: file: prod.Dockerfile platforms: linux/amd64 push: true - tags: ghcr.io/${{ github.repository }}:${{ env.DOCKER_IMAGE_TAG }} + tags: ghcr.io/${{ github.repository }}-cloud:${{ env.DOCKER_IMAGE_TAG }} build-args: | PORT=42110 diff --git a/.github/workflows/dockerize_production.yml b/.github/workflows/dockerize_production.yml index 2be5e5cb..2e1eea4b 100644 --- a/.github/workflows/dockerize_production.yml +++ b/.github/workflows/dockerize_production.yml @@ -15,7 +15,7 @@ on: workflow_dispatch: env: - DOCKER_IMAGE_TAG: 'prod' + DOCKER_IMAGE_TAG: ${{ github.ref == 'refs/heads/master' && 'latest' || github.ref_name }} jobs: build: @@ -42,6 +42,6 @@ jobs: file: prod.Dockerfile platforms: linux/amd64 push: true - tags: ghcr.io/${{ github.repository }}:${{ env.DOCKER_IMAGE_TAG }} + tags: ghcr.io/${{ github.repository }}-cloud:${{ env.DOCKER_IMAGE_TAG }} build-args: | PORT=42110