mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
Use edge label for default branch, branch name for the other branches
This commit is contained in:
4
.github/workflows/build-dockers.yml
vendored
4
.github/workflows/build-dockers.yml
vendored
@@ -84,8 +84,8 @@ jobs:
|
||||
tags: |
|
||||
type=schedule,pattern={{date 'YYYYMMDD'}}
|
||||
type=match,pattern=v(.*),group=1
|
||||
type=edge,enable=${{is_default_branch}}
|
||||
type=ref,event=branch,enable=${{!is_default_branch}}
|
||||
type=edge,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
type=ref,event=branch,enable=${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
type=ref,event=pr
|
||||
type=sha
|
||||
|
||||
|
||||
Reference in New Issue
Block a user