File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 28
28
env :
29
29
DISABLE_ASSERTIONS : 1
30
30
GITHUB_TOKEN : ${{ secrets.GH_PERSONAL_TOKEN }}
31
+ - name : Set up Docker Buildx
32
+ uses : docker/setup-buildx-action@v3
31
33
- name : Log in to Docker Hub
32
34
uses : docker/login-action@v3
33
35
with :
@@ -44,14 +46,16 @@ jobs:
44
46
type=semver,pattern={{major}}.{{minor}}
45
47
# set latest tag for default branch
46
48
type=raw,value=latest,enable={{is_default_branch}}
47
- - name : Build and push image
49
+ - name : Build image
48
50
uses : docker/build-push-action@v6
49
51
with :
50
52
context : ./target/docker/stage
51
53
load : true
52
54
tags : ${{ steps.meta.outputs.tags }}
53
55
labels : ${{ steps.meta.outputs.labels }}
54
56
push : false
57
+ cache-from : type=gha
58
+ cache-to : type=gha,mode=max
55
59
- name : Test image
56
60
env :
57
61
DOCKER_TAG : ${{ steps.meta.outputs.tags }}
64
68
push : true
65
69
tags : ${{ steps.meta.outputs.tags }}
66
70
labels : ${{ steps.meta.outputs.labels }}
71
+ cache-from : type=gha
72
+ cache-to : type=gha,mode=max
67
73
- name : Attest
68
74
uses : actions/attest-build-provenance@v1
69
75
id : attest
You can’t perform that action at this time.
0 commit comments