File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
build :
12
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+ packages : write
13
16
steps :
14
- - name : Checkout
15
- uses : actions/checkout@v4
17
+ - name : Set up QEMU
18
+ uses : docker/setup-qemu-action@v2
16
19
17
20
- name : Set up Docker Buildx
18
21
uses : docker/setup-buildx-action@v3
24
27
username : ${{ github.actor }}
25
28
password : ${{ secrets.GITHUB_TOKEN }}
26
29
30
+ - name : Checkout
31
+ uses : actions/checkout@v4
32
+
27
33
- name : Build image and push to GitHub Container Registry
28
34
uses : docker/build-push-action@v5
29
35
with :
32
38
tags : ' ghcr.io/mlibrary/lauth/lauth:${{ github.sha }}, ghcr.io/mlibrary/lauth/lauth:latest'
33
39
file : lauth/Dockerfile
34
40
target : production
41
+ platforms : linux/amd64, linux/arm64
42
+
43
+ - name : Image digest
44
+ run : |
45
+ echo '${{ steps.docker_build.outputs.digest }}'
You can’t perform that action at this time.
0 commit comments