Use a different name for the production-config containers

This commit is contained in:
sabaimran 2023-11-16 10:28:28 -08:00
parent ba633c4015
commit 36d200580b
2 changed files with 3 additions and 3 deletions

View file

@ -38,6 +38,6 @@ jobs:
file: prod.Dockerfile file: prod.Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: ghcr.io/${{ github.repository }}:${{ env.DOCKER_IMAGE_TAG }} tags: ghcr.io/${{ github.repository }}-cloud:${{ env.DOCKER_IMAGE_TAG }}
build-args: | build-args: |
PORT=42110 PORT=42110

View file

@ -15,7 +15,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
DOCKER_IMAGE_TAG: 'prod' DOCKER_IMAGE_TAG: ${{ github.ref == 'refs/heads/master' && 'latest' || github.ref_name }}
jobs: jobs:
build: build:
@ -42,6 +42,6 @@ jobs:
file: prod.Dockerfile file: prod.Dockerfile
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: ghcr.io/${{ github.repository }}:${{ env.DOCKER_IMAGE_TAG }} tags: ghcr.io/${{ github.repository }}-cloud:${{ env.DOCKER_IMAGE_TAG }}
build-args: | build-args: |
PORT=42110 PORT=42110