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 1010 IMAGE_NAME : cloudstruct/cardano-node
1111
1212jobs :
13- docker :
13+ build-amd64 :
1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v2
2626 with :
2727 context : .
2828 push : false
29- # ## TODO: test multiple platforms
30- # platforms: linux/amd64,linux/arm64
3129 tags : ${{ steps.meta.outputs.tags }}
3230 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