File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Docker Build/Publish Image
2+ on :
3+ workflow_dispatch :
4+
5+ push :
6+ branches : [ main ]
7+
8+ jobs :
9+ docker :
10+ runs-on : ubuntu-latest
11+ steps :
12+ -
13+ name : Set up QEMU
14+ uses : docker/setup-qemu-action@v2
15+ -
16+ name : Set up Docker Buildx
17+ uses : docker/setup-buildx-action@v2
18+ with :
19+ version : v0.7.0
20+ -
21+ name : Login to DockerHub
22+ uses : docker/login-action@v2
23+ with :
24+ username : ${{ secrets.DOCKER_USERNAME }}
25+ password : ${{ secrets.DOCKER_PASSWORD }}
26+ -
27+ name : Build and push
28+ uses : docker/build-push-action@v3
29+ with :
30+ platforms : linux/arm/v7
31+ push : true
32+ tags : pathonscript/bot:latest
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ RUN npm install --only=production
3333COPY --from=build-runner /tmp/app/build /app/build
3434
3535# Start bot
36- CMD [ "npm" , "run" , " start" ]
36+ CMD [ "npm" , "start" ]
You can’t perform that action at this time.
0 commit comments