File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Docker Build Manual
2+
3+ on :
4+ push :
5+ branches :
6+ - " manual-docker"
7+ workflow_dispatch :
8+ inputs :
9+ version :
10+ description : " Docker image version tag (e.g. v1.2.3)"
11+ required : true
12+
13+ jobs :
14+ docker-build :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - uses : docker/setup-qemu-action@v3
21+ - uses : docker/setup-buildx-action@v3
22+
23+ - name : Login to DockerHub
24+ uses : docker/login-action@v3
25+ with :
26+ username : ${{ secrets.DOCKERHUB_USERNAME }}
27+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
28+
29+ - name : Build and push image
30+ uses : docker/build-push-action@v6
31+ with :
32+ context : .
33+ file : ./Dockerfile
34+ push : true
35+ platforms : linux/amd64,linux/arm64
36+ tags : |
37+ veridise/audithub-client:latest
38+ veridise/audithub-client:${{ inputs.version }}
39+ cache-from : type=gha
40+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments