diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a04780c4..0d42a49d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,7 +49,7 @@ jobs: type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=branch type=ref,event=tag - type=raw,value={{branch}}-{{date 'YYYYMMDD'}}-{{sha}} + type=raw,value={{github.head_ref}}-{{date 'YYYYMMDD'}}-{{sha}} flavor: | latest=false - name: Login to GitHub Container Registry