File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change 10
10
IMAGE_NAME : cloudstruct/cardano-node
11
11
12
12
jobs :
13
- docker :
13
+ build-amd64 :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v2
26
26
with :
27
27
context : .
28
28
push : false
29
- # ## TODO: test multiple platforms
30
- # platforms: linux/amd64,linux/arm64
31
29
tags : ${{ steps.meta.outputs.tags }}
32
30
labels : ${{ steps.meta.outputs.labels }}
33
- # ## TODO: cache artifacts
34
- # cache-to: type=gha,mode=max
31
+ cache-from : type=gha
32
+ cache-to : type=gha,mode=max
33
+ build-arm64 :
34
+ runs-on : self-hosted
35
+ steps :
36
+ - uses : actions/checkout@v2
37
+ - name : qemu
38
+ uses : docker/setup-qemu-action@v1
39
+ - uses : docker/setup-buildx-action@v1
40
+ - id : meta
41
+ uses : docker/metadata-action@v3
42
+ with :
43
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
44
+ - name : build
45
+ uses : docker/build-push-action@v2
46
+ with :
47
+ context : .
48
+ push : false
49
+ tags : ${{ steps.meta.outputs.tags }}
50
+ labels : ${{ steps.meta.outputs.labels }}
51
+ cache-from : type=gha
52
+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments