File tree 1 file changed +14
-11
lines changed 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -17,24 +17,27 @@ jobs:
17
17
run : echo "::set-output name=dtag::ghcr.io/barelyhuman/goblin:nightly"
18
18
id : meta
19
19
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
25
27
with :
26
28
registry : ghcr.io
27
- username : $GITHUB_USER
28
- password : ${{ secrets.GH_TOKEN }}
29
+ username : ${{ github.repository_owner }}
30
+ password : ${{ secrets.GITHUB_TOKEN }}
29
31
30
- - name : Build and Push Docker Image
32
+ - name : Build and push
33
+ uses : docker/build-push-action@v5
31
34
env :
32
35
REGISTRY : ghcr.io
33
- OWNER : barelyhuman
36
+ OWNER : ${{ github.repository_owner }}
34
37
IMAGE_NAME : ${{ github.repository }}
35
- uses : docker/build-push-action@v2
36
38
with :
37
39
context : .
38
40
file : Dockerfile
41
+ platforms : linux/amd64,linux/arm64
39
42
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