File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Docker Build
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v4
12+
13+ - name : Set up QEMU
14+ uses : docker/setup-qemu-action@v3
15+
16+ - name : Set up Docker Buildx
17+ uses : docker/setup-buildx-action@v3
18+
19+ - name : Build
20+ uses : docker/build-push-action@v6
21+ with :
22+ context : .
23+ push : false
24+ tags : app:test
25+ platforms : |
26+ linux/amd64
27+ linux/arm64
Original file line number Diff line number Diff line change 1414 docker :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v4
17+ - name : Checkout
18+ uses : actions/checkout@v4
1819
1920 - name : Docker meta
2021 id : meta
4647 uses : docker/build-push-action@v6
4748 with :
4849 context : .
50+ push : true
4951 tags : ${{ steps.meta.outputs.tags }}
5052 labels : ${{ steps.meta.outputs.labels }}
5153 platforms : |
5254 linux/amd64
5355 linux/arm64
56+
57+ - name : Webhook
58+ if : github.event_name == 'push'
59+ run : |
60+ curl "${{ secrets.DEV_WEBHOOK_URL }}" -H "Authorization: Bearer ${{ secrets.DEV_WEBHOOK_API_KEY }}"
You can’t perform that action at this time.
0 commit comments