File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -17,24 +17,27 @@ jobs:
1717 run : echo "::set-output name=dtag::ghcr.io/barelyhuman/goblin:nightly"
1818 id : meta
1919
20- - name : Login to GitHub Container registry
21- uses : docker/login-action@v1
22- env :
23- GITHUB_USER : ${{ github.actor }}
24- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
20+ - name : Set up QEMU
21+ uses : docker/setup-qemu-action@v3
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v3
24+
25+ - name : Login to GitHub Container Registry
26+ uses : docker/login-action@v3
2527 with :
2628 registry : ghcr.io
27- username : $GITHUB_USER
28- password : ${{ secrets.GH_TOKEN }}
29+ username : ${{ github.repository_owner }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
2931
30- - name : Build and Push Docker Image
32+ - name : Build and push
33+ uses : docker/build-push-action@v5
3134 env :
3235 REGISTRY : ghcr.io
33- OWNER : barelyhuman
36+ OWNER : ${{ github.repository_owner }}
3437 IMAGE_NAME : ${{ github.repository }}
35- uses : docker/build-push-action@v2
3638 with :
3739 context : .
3840 file : Dockerfile
41+ platforms : linux/amd64,linux/arm64
3942 push : true
40- tags : ${{ steps.meta.outputs.dtag }}
43+ tags : ${{ steps.meta.outputs.dtag }}
You can’t perform that action at this time.
0 commit comments