Skip to content

Commit e4ed431

Browse files
committed
fix: GHCR container tagging branch
1 parent d4fd768 commit e4ed431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ghcr-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Create and publish Docker image to GHCR
55
on:
66
workflow_dispatch:
77
push:
8-
branches: ['main']
8+
branches: ['production']
99

1010
jobs:
1111
build-and-push-image:
@@ -38,7 +38,7 @@ jobs:
3838
images: ghcr.io/amfoss/amd
3939
tags: |
4040
# set latest tag for master branch
41-
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }},priority=2000
41+
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'production') }},priority=2000
4242
type=schedule,pattern={{date 'YYYYMMDD'}}
4343
type=ref,event=tag
4444
type=ref,event=pr

0 commit comments

Comments
 (0)