File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 15
15
- ' .github/workflows/CI.yml'
16
16
workflow_dispatch :
17
17
18
+ concurrency :
19
+ group : ${{ github.workflow }}-${{ github.ref }}
20
+ cancel-in-progress : true
21
+
22
+
18
23
jobs :
19
24
build :
20
25
strategy :
@@ -40,11 +45,11 @@ jobs:
40
45
- name : Check buildx bake
41
46
run : docker buildx bake --file docker-bake.hcl --print
42
47
43
- - name : Publish an image for tag ${{ matrix.target }}
48
+ - name : Build image for tag ${{ matrix.target }}
44
49
if : github.ref == 'refs/heads/master'
45
50
run : docker buildx bake --file docker-bake.hcl ${{ matrix.target }} --load
46
51
47
- - name : Publish an image for tag ${{ matrix.target }}
52
+ - name : Publish image for tag ${{ matrix.target }}
48
53
if : github.ref == 'refs/heads/master' && github.event_name == 'workflow_dispatch'
49
54
run : docker buildx bake --file docker-bake.hcl ${{ matrix.target }} --push
50
55
You can’t perform that action at this time.
0 commit comments