Skip to content

Commit 35729b4

Browse files
authored
Change branch reference from 'master' to 'main'
1 parent 03051f1 commit 35729b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
env:
99
REGISTRY: ghcr.io
1010
IMAGE_NAME: ${{ github.repository }}
11-
SHOULD_PUSH_IMAGE: ${{ (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev')) || github.event_name == 'workflow_dispatch' }}
11+
SHOULD_PUSH_IMAGE: ${{ (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev')) || github.event_name == 'workflow_dispatch' }}
1212

1313
permissions:
1414
contents: read
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4545
tags: |
46-
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
46+
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
4747
type=raw,value=edge,enable=${{ github.ref == 'refs/heads/dev' }}
4848
type=sha
4949
@@ -86,7 +86,7 @@ jobs:
8686
with:
8787
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
8888
tags: |
89-
type=raw,value=latest-arm,enable=${{ github.ref == 'refs/heads/master' }}
89+
type=raw,value=latest-arm,enable=${{ github.ref == 'refs/heads/main' }}
9090
type=raw,value=edge-arm,enable=${{ github.ref == 'refs/heads/dev' }}
9191
type=sha,suffix=-arm
9292

0 commit comments

Comments
 (0)