File tree 5 files changed +9
-17
lines changed
5 files changed +9
-17
lines changed Original file line number Diff line number Diff line change 22
22
- 20
23
23
- 18
24
24
steps :
25
- -
26
- name : Checkout
27
- uses : actions/checkout@v4
28
25
-
29
26
name : Build
30
- uses : docker/bake-action@v5
27
+ uses : docker/bake-action@v6
31
28
with :
32
29
targets : build
33
30
env :
Original file line number Diff line number Diff line change @@ -13,15 +13,12 @@ jobs:
13
13
publish :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- -
17
- name : Checkout
18
- uses : actions/checkout@v4
19
16
-
20
17
name : Set up Docker Buildx
21
18
uses : docker/setup-buildx-action@v3
22
19
-
23
20
name : Publish
24
- uses : docker/bake-action@v5
21
+ uses : docker/bake-action@v6
25
22
with :
26
23
targets : publish
27
24
env :
Original file line number Diff line number Diff line change 28
28
- 20
29
29
- 18
30
30
steps :
31
- -
32
- name : Checkout
33
- uses : actions/checkout@v4
34
31
-
35
32
name : Test
36
- uses : docker/bake-action@v5
33
+ uses : docker/bake-action@v6
37
34
with :
38
35
targets : test-coverage
39
36
env :
Original file line number Diff line number Diff line change 25
25
-
26
26
name : List targets
27
27
id : generate
28
- uses : docker/bake-action/subaction/list-targets@v5
28
+ uses : docker/bake-action/subaction/list-targets@v6
29
29
with :
30
30
target : validate
31
31
38
38
matrix :
39
39
target : ${{ fromJson(needs.prepare.outputs.targets) }}
40
40
steps :
41
- -
42
- name : Checkout
43
- uses : actions/checkout@v4
44
41
-
45
42
name : Validate
46
- uses : docker/bake-action@v5
43
+ uses : docker/bake-action@v6
47
44
with :
48
45
targets : ${{ matrix.target }}
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ group "validate" {
30
30
31
31
target "_common" {
32
32
args = {
33
+ BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
33
34
NODE_VERSION = NODE_VERSION
34
35
}
35
36
}
@@ -76,6 +77,7 @@ target "dockerfile-validate" {
76
77
" ./hack/dockerfiles/license.Dockerfile"
77
78
]
78
79
}
80
+ inherits = [" _common" ]
79
81
name = " dockerfile-validate-${ md5 (dockerfile)} "
80
82
dockerfile = dockerfile
81
83
call = " check"
@@ -115,12 +117,14 @@ target "publish" {
115
117
}
116
118
117
119
target "license-validate" {
120
+ inherits = [" _common" ]
118
121
dockerfile = " ./hack/dockerfiles/license.Dockerfile"
119
122
target = " validate"
120
123
output = [" type=cacheonly" ]
121
124
}
122
125
123
126
target "license-update" {
127
+ inherits = [" _common" ]
124
128
dockerfile = " ./hack/dockerfiles/license.Dockerfile"
125
129
target = " update"
126
130
output = [" ." ]
You can’t perform that action at this time.
0 commit comments