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 : release
2+
3+ on : [workflow_dispatch]
4+
5+ jobs :
6+ release_dockerhub :
7+ runs-on : ubuntu-latest
8+ needs : release
9+
10+ steps :
11+ - name : Checkout sources
12+ uses : actions/checkout@v4
13+ with :
14+ ref : main
15+
16+ - name : Set up QEMU
17+ uses : docker/setup-qemu-action@v3
18+
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v3
21+
22+ - name : Login to DockerHub
23+ uses : docker/login-action@v3
24+ with :
25+ username : ${{ secrets.DOCKERHUB_USERNAME }}
26+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27+
28+ - name : Build and push Docker image
29+ uses : docker/build-push-action@v6
30+ with :
31+ platforms : linux/amd64,linux/arm64
32+ context : .
33+ file : Dockerfile
34+ push : true
35+ tags : getcodelimit/codelimit:latest
You can’t perform that action at this time.
0 commit comments