This repository was archived by the owner on Nov 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +22
-9
lines changed Expand file tree Collapse file tree 1 file changed +22
-9
lines changed Original file line number Diff line number Diff line change 55 tags :
66 - " [0-9]+.[0-9]+.[0-9]+"
77 - " [0-9]+.[0-9]+.[0-9]+.[0-9]+"
8-
8+
99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12-
1312 steps :
14- - name : Checkout
15- uses : actions/checkout@v2
16- - name : install buildx
13+ - name : checkout code
14+ uses : actions/checkout@v2
15+ - name : Login to DockerHub
16+ uses : docker/login-action@v1
17+ with :
18+ username : ${{ secrets.DOCKERHUB_USERNAME }}
19+ password : ${{ secrets.DOCKERHUB_TOKEN }}
20+ -
21+ name : Set up QEMU
22+ uses : docker/setup-qemu-action@v1
23+ with :
24+ platforms : all
25+ - name : Set up Docker Buildx
1726 id : buildx
18- uses : crazy-max/ghaction-docker- buildx@v1
27+ uses : docker/setup- buildx-action @v1
1928 with :
2029 version : latest
30+ -
31+ name : Available platforms
32+ run : echo ${{ steps.buildx.outputs.platforms }}
2133 - name : build the image
22- run : |
23- docker buildx build \
34+ run : |
35+ docker buildx build \
2436 --tag freetakteam/freetakserver:${{ github.sha }} \
25- --platform linux/amd64,linux/arm/v7,linux/arm64 .
37+ --platform linux/amd64,linux/arm/v7,linux/arm64 . --push
38+
You can’t perform that action at this time.
0 commit comments