File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : docker-push
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ path :
6+ description : ' Path'
7+ required : true
8+ default : ' /redqueen-memshell-party'
9+ tag :
10+ description : " Tag"
11+ required : true
12+ default : " redqueen"
13+ jobs :
14+ docker-push :
15+ name : Docker Push
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Login to Docker Hub
20+ uses : docker/login-action@v3
21+ with :
22+ registry : docker.io
23+ username : ${{ vars.DOCKERHUB_USERNAME }}
24+ password : ${{ secrets.DOCKERHUB_TOKEN }}
25+
26+ - name : Set up QEMU
27+ uses : docker/setup-qemu-action@v3
28+ - name : Set up Docker Buildx
29+ uses : docker/setup-buildx-action@v3
30+
31+ - name : Build and push RedQueen
32+ uses : docker/build-push-action@v6
33+ with :
34+ context : .
35+ platforms : linux/amd64,linux/arm64
36+ build-args : |
37+ ROUTE_ROOT_PATH=${{ inputs.path }}
38+ CONTEXT_PATH=${{ inputs.path }}
39+ push : true
40+ tags : |
41+ docker.io/reajason/memshell-party:${{ inputs.tag }}
You can’t perform that action at this time.
0 commit comments