@@ -87,25 +87,25 @@ jobs:
87
87
prefix=
88
88
suffix=
89
89
tags : |
90
- type=ref,enable=true ,priority=600,prefix=,suffix=,event=branch
90
+ type=ref,enable=${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name != 'schedule' }} ,priority=600,prefix=,suffix=,event=branch
91
91
type=edge,enable=true,priority=700,prefix=,suffix=,branch=dev
92
- type=raw,enable={{is_default_branch }},priority=200,prefix=,suffix=,value=latest
92
+ type=raw,enable=${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && github.event_name != 'schedule' }},priority=200,prefix=,suffix=,value=latest
93
93
type=raw,enable=${{ startsWith(github.ref, 'refs/tags/') }},priority=200,prefix=,suffix=,value=latest
94
94
type=schedule,enable=true,priority=1000,prefix=,suffix=,pattern=nightly
95
95
type=match,enable=true,priority=800,prefix=,suffix=,pattern=\d+.\d+.\d+,group=0,value=
96
96
type=match,enable=true,priority=800,prefix=,suffix=,pattern=\d+.\d+,group=0,value=
97
97
type=match,enable=${{ !startsWith(github.ref, 'refs/tags/0.') && !startsWith(github.ref, 'refs/tags/v0.') && !startsWith(github.ref, 'refs/tags/V0.') && !startsWith(github.ref, 'refs/tags/alpine-0.') && !startsWith(github.ref, 'refs/tags/alpine-v0.') && !startsWith(github.ref, 'refs/tags/alpine-V0.') }},priority=800,prefix=,suffix=,pattern=\d+,group=0,value=
98
- type=ref,enable=true ,priority=600,prefix=,suffix=-alpine,event=branch
98
+ type=ref,enable=${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name != 'schedule' }} ,priority=600,prefix=,suffix=-alpine,event=branch
99
99
type=edge,enable=true,priority=700,prefix=,suffix=-alpine,branch=dev
100
- type=raw,enable={{is_default_branch }},priority=200,prefix=,suffix=,value=alpine
100
+ type=raw,enable=${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && github.event_name != 'schedule' }},priority=200,prefix=,suffix=,value=alpine
101
101
type=raw,enable=${{ startsWith(github.ref, 'refs/tags/') }},priority=200,prefix=,suffix=,value=alpine
102
102
type=schedule,enable=true,priority=1000,prefix=,suffix=-alpine,pattern=nightly
103
103
type=match,enable=true,priority=800,prefix=,suffix=-alpine,pattern=\d+.\d+.\d+,group=0,value=
104
104
type=match,enable=true,priority=800,prefix=,suffix=-alpine,pattern=\d+.\d+,group=0,value=
105
105
type=match,enable=${{ !startsWith(github.ref, 'refs/tags/0.') && !startsWith(github.ref, 'refs/tags/v0.') && !startsWith(github.ref, 'refs/tags/V0.') && !startsWith(github.ref, 'refs/tags/alpine-0.') && !startsWith(github.ref, 'refs/tags/alpine-v0.') && !startsWith(github.ref, 'refs/tags/alpine-V0.') }},priority=800,prefix=,suffix=-alpine,pattern=\d+,group=0,value=
106
- type=ref,enable=true ,priority=600,prefix=,suffix=-alpine3.20,event=branch
106
+ type=ref,enable=${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name != 'schedule' }} ,priority=600,prefix=,suffix=-alpine3.20,event=branch
107
107
type=edge,enable=true,priority=700,prefix=,suffix=-alpine3.20,branch=dev
108
- type=raw,enable={{is_default_branch }},priority=200,prefix=,suffix=,value=alpine3.20
108
+ type=raw,enable=${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && github.event_name != 'schedule' }},priority=200,prefix=,suffix=,value=alpine3.20
109
109
type=raw,enable=${{ startsWith(github.ref, 'refs/tags/') }},priority=200,prefix=,suffix=,value=alpine3.20
110
110
type=schedule,enable=true,priority=1000,prefix=,suffix=-alpine3.20,pattern=nightly
111
111
type=match,enable=true,priority=800,prefix=,suffix=-alpine3.20,pattern=\d+.\d+.\d+,group=0,value=
0 commit comments