Skip to content

Commit 7d5f0e5

Browse files
committed
Ensure that we can push with environment tag is specified
1 parent c388b4b commit 7d5f0e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/stage-3-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148
run: |
149149
docker compose -f ${COMPOSE_FILE//,/ -f } -p ${PROJECT_NAME} build --no-cache --pull ${{ matrix.function }}
150150
docker tag ${IMAGE_NAME}:latest "${REPO_PATH}:${PR_NUM_TAG}"
151+
[[ -n "${ENVIRONMENT_TAG}" ]] && docker tag "${IMAGE_NAME}:latest "${REPO_PATH}:${ENVIRONMENT_TAG}"
151152
152153
- name: AzureCLI login
153154
if: github.ref == 'refs/heads/main' && env.USE_AZURECR == 'true'

0 commit comments

Comments
 (0)