File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docker CI
2+
3+ on :
4+ pull_request :
5+ branches : ['main']
6+ paths : ['Dockerfile','bin','config','.github/workflows/ci-docker.yml']
7+
8+ env :
9+ REGISTRY : ghcr.io
10+ IMAGE_NAME : cloudstruct/cardano-node
11+
12+ jobs :
13+ docker :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : qemu
18+ uses : docker/setup-qemu-action@v1
19+ - uses : docker/setup-buildx-action@v1
20+ - id : meta
21+ uses : docker/metadata-action@v3
22+ with :
23+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
24+ - name : build
25+ uses : docker/build-push-action@v2
26+ with :
27+ context : .
28+ push : false
29+ # ## TODO: test multiple platforms
30+ # platforms: linux/amd64,linux/arm64
31+ tags : ${{ steps.meta.outputs.tags }}
32+ labels : ${{ steps.meta.outputs.labels }}
33+ # ## TODO: cache artifacts
34+ # cache-to: type=gha,mode=max
You can’t perform that action at this time.
0 commit comments