File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : test-docker-image
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' master'
7+
8+ env :
9+ IMAGE : zappi/nginx-proxy
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+ - name : Prepare image metadata
18+ id : metadata
19+ uses : docker/metadata-action@v5
20+ with :
21+ images : ${{ env.IMAGE }}
22+ - name : Set up QEMU
23+ uses : docker/setup-qemu-action@v3
24+ - name : Set up Docker Buildx
25+ uses : docker/setup-buildx-action@v3
26+ - name : Test multi-arch building of image
27+ uses : docker/build-push-action@v6
28+ with :
29+ cache-from : type=gha
30+ cache-to : type=gha,mode=max
31+ context : .
32+ labels : ${{ steps.metadata.outputs.labels }}
33+ platforms : linux/amd64,linux/arm64
34+ push : false
35+ tags : ${{ steps.metadata.outputs.tags }}
You can’t perform that action at this time.
0 commit comments