Skip to content

Commit 169a156

Browse files
Update branch names in Docker workflow
1 parent 52e8b2f commit 169a156

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
- synchronize
2828
branches:
2929
- main
30-
- dev-v4
30+
- dev
3131
- demo-v4
3232
- hotfix
3333
paths:
@@ -62,15 +62,15 @@ jobs:
6262
uses: docker/setup-buildx-action@v4
6363

6464
- name: Login to Azure
65-
if: ${{ github.ref_name == 'main' || github.ref_name == 'dev-v4'|| github.ref_name == 'demo-v4' || github.ref_name == 'hotfix' }}
65+
if: ${{ github.ref_name == 'main' || github.ref_name == 'dev'|| github.ref_name == 'demo-v4' || github.ref_name == 'hotfix' }}
6666
uses: azure/login@v3
6767
with:
6868
client-id: ${{ secrets.AZURE_CLIENT_ID }}
6969
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
7070
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
7171

7272
- name: Log in to Azure Container Registry
73-
if: ${{ github.ref_name == 'main' || github.ref_name == 'dev-v4'|| github.ref_name == 'demo-v4' || github.ref_name == 'hotfix' }}
73+
if: ${{ github.ref_name == 'main' || github.ref_name == 'dev'|| github.ref_name == 'demo-v4' || github.ref_name == 'hotfix' }}
7474
run: az acr login --name ${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}
7575

7676
- name: Get current date
@@ -132,4 +132,4 @@ jobs:
132132
push: ${{ env.TAG != 'pullrequest-ignore' }}
133133
tags: |
134134
${{ steps.registry.outputs.ext_registry }}/macaemcp:${{ env.TAG }}
135-
${{ steps.registry.outputs.ext_registry }}/macaemcp:${{ env.HISTORICAL_TAG }}
135+
${{ steps.registry.outputs.ext_registry }}/macaemcp:${{ env.HISTORICAL_TAG }}

0 commit comments

Comments
 (0)