File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- pull_request :
8- branches :
9- - master
107 workflow_dispatch :
118
129jobs :
@@ -24,27 +21,23 @@ jobs:
2421 echo "syncplay_version=${syncplay_version}"
2522 echo "syncplay_version=${syncplay_version}" >> $GITHUB_OUTPUT
2623
27- - name : Set up QEMU
28- uses : docker/setup-qemu-action@v3
29-
3024 - name : Set up Docker Buildx
3125 uses : docker/setup-buildx-action@v3
3226
33- - name : Login to Docker Hub
34- if : github.event_name != 'pull_request'
27+ - name : Login to GHCR
3528 uses : docker/login-action@v3
3629 with :
37- username : ${{ secrets.DOCKERHUB_USERNAME }}
38- password : ${{ secrets.DOCKERHUB_TOKEN }}
30+ registry : ghcr.io
31+ username : MSKNET
32+ password : ${{ secrets.GITHUB_TOKEN }}
3933
4034 - name : Build and push
41- uses : docker/build-push-action@v5
35+ uses : docker/build-push-action@v6
4236 with :
43- context : .
44- platforms : linux/amd64,linux/arm64,linux/386,linux/arm/v7
45- push : ${{ github.event_name != 'pull_request' }}
37+ push : true
38+ platforms : linux/amd64
4639 tags : |
47- ${{ secrets.DOCKER_IMAGE }} :v${{ steps.get-version.outputs.syncplay_version }}
48- ${{ secrets.DOCKER_IMAGE }} :latest
40+ ghcr.io/msknet/syncplay :v${{ steps.get-version.outputs.syncplay_version }}
41+ ghcr.io/msknet/syncplay :latest
4942 cache-from : type=gha
5043 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments