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 : CI
1+ name : Build Service
22on :
33 push :
4- branches : [ master ]
5- # pull_request:
6- # branches: [ master ]
4+ branches :
5+ - master
6+ workflow_dispatch :
77
88jobs :
99 build :
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2
14-
13+ - name : Correct env
14+ run :
15+ echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
16+
17+ - name : Check out code into the Go module directory
18+ uses : actions/checkout@v1
19+
1520 - name : Set up QEMU
21+ id : qemu
1622 uses : docker/setup-qemu-action@v1
1723
1824 - name : Set up Docker Buildx
25+ id : buildx
1926 uses : docker/setup-buildx-action@v1
20-
27+
2128 - name : Login to GitHub Container Registry
22- uses : docker/login-action@v1
29+ uses : docker/login-action@v1
2330 with :
2431 registry : ghcr.io
2532 username : ${{ github.repository_owner }}
3037 with :
3138 context : .
3239 push : true
33- tags : ghcr.io/minecrafthopper/panel:latest
40+ tags : ghcr.io/${{ env.REPO }}:latest
41+ platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments