File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66
66
context : .
67
67
cache-from : type=gha,scope=base
68
68
cache-to : type=gha,scope=base,mode=max
69
- push : ${{ github.ref == 'refs/heads/main' }}
69
+ push : ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags') }}
70
70
tags : ${{ steps.meta.outputs.tags }}
71
71
labels : ${{ steps.meta.outputs.labels }}
72
72
platforms : linux/amd64
@@ -139,7 +139,7 @@ jobs:
139
139
context : .
140
140
cache-from : type=gha,scope=otel
141
141
cache-to : type=gha,scope=otel,mode=max
142
- push : ${{ github.ref == 'refs/heads/main' }}
142
+ push : ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags') }}
143
143
tags : ${{ steps.meta.outputs.tags }}
144
144
labels : ${{ steps.meta.outputs.labels }}
145
145
platforms : linux/amd64
You can’t perform that action at this time.
0 commit comments