File tree Expand file tree Collapse file tree 2 files changed +37
-36
lines changed
Expand file tree Collapse file tree 2 files changed +37
-36
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Push to DockerHub
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ env :
8+ REGISTRY : docker.io
9+ IMAGE_NAME : appwrite/mailcatcher
10+ TAG : ${{ github.event.release.tag_name }}
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout the repo
17+ uses : actions/checkout@v3
18+
19+ - name : Login to DockerHub
20+ uses : docker/login-action@v2
21+ with :
22+ username : ${{ secrets.DOCKERHUB_USERNAME }}
23+ password : ${{ secrets.DOCKERHUB_TOKEN }}
24+
25+ - name : Set up QEMU
26+ uses : docker/setup-qemu-action@v2
27+
28+ - name : Set up Docker Buildx
29+ uses : docker/setup-buildx-action@v2
30+
31+ - name : Build and push
32+ uses : docker/build-push-action@v4
33+ with :
34+ context : .
35+ platforms : linux/amd64,linux/arm64
36+ push : true
37+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments