Skip to content

Commit 99e8148

Browse files
author
Harmanpreet Kaur
committed
Update Docker image tag handling for 'psl-pinversions' branch and adjust push conditions
1 parent 2f8a413 commit 99e8148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-build-and-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
elif [[ "$BRANCH" == "hotfix" ]]; then
6868
BASE_TAG="hotfix"
6969
elif [[ "$BRANCH" == "psl-pinversions" ]]; then
70-
BASE_TAG="version-pinning"
70+
BASE_TAG="psl-pinversions"
7171
else
7272
BASE_TAG="pullrequest-ignore"
7373
fi
@@ -101,7 +101,7 @@ jobs:
101101
with:
102102
context: ./src/frontend
103103
file: ./src/frontend/Dockerfile
104-
push: ${{ github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix') }}
104+
push: ${{ github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix'|| github.ref_name == 'psl-pinversions') }}
105105
tags: |
106106
${{ steps.registry.outputs.ext_registry }}/frontend:${{ env.BASE_TAG }}
107107
${{ steps.registry.outputs.ext_registry }}/frontend:${{ env.DATE_TAG }}

0 commit comments

Comments
 (0)