File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ name: Build and Push Docker Image
33on :
44 push :
55 branches :
6- - main
7- - dev
6+ - traefik-int
87 paths :
98 - ' Dockerfile'
109 - ' go.mod'
6766 if [[ "${{ github.ref_name }}" == "main" || "${{ github.ref_name }}" == "master" ]]; then
6867 # For main/master branch, add latest tag
6968 TAGS="$TAGS ${{ env.DOCKERHUB_IMAGE_NAME }}:latest"
70- elif [[ "${{ github.ref_name }}" == "dev " ]]; then
69+ elif [[ "${{ github.ref_name }}" == "traefik-int " ]]; then
7170 # For dev branch
72- TAGS="$TAGS ${{ env.DOCKERHUB_IMAGE_NAME }}:dev "
71+ TAGS="$TAGS ${{ env.DOCKERHUB_IMAGE_NAME }}:traefik-int "
7372 elif [[ "${{ github.ref_type }}" == "branch" ]]; then
7473 # For other branches
7574 TAGS="$TAGS ${{ env.DOCKERHUB_IMAGE_NAME }}:${{ github.ref_name }}"
You can’t perform that action at this time.
0 commit comments