Skip to content

Commit 483512e

Browse files
Update build-docker.yml
1 parent 3f22d33 commit 483512e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/build-docker.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,12 @@ jobs:
5151
- name: Determine Tag Name Based on Branch
5252
id: determine_tag
5353
run: |
54-
if [[ "${{ github.ref_name }}" == "main" ]]; then
54+
if [[ "${{ github.ref_name }}" == "byoc-researcher" ]]; then
5555
echo "tagname=latest" >> $GITHUB_OUTPUT
56-
elif [[ "${{ github.ref_name }}" == "dev" ]]; then
57-
echo "tagname=dev" >> $GITHUB_OUTPUT
58-
elif [[ "${{ github.ref_name }}" == "demo" ]]; then
59-
echo "tagname=demo" >> $GITHUB_OUTPUT
60-
elif [[ "${{ github.ref_name }}" == "dependabotchanges" ]]; then
61-
echo "tagname=dependabotchanges" >> $GITHUB_OUTPUT
6256
else
6357
echo "tagname=default" >> $GITHUB_OUTPUT
64-
6558
fi
6659
67-
6860
- name: Build Docker Image and optionally push
6961
uses: docker/build-push-action@v6
7062
with:

0 commit comments

Comments
 (0)