File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ concurrency :
4
+ cancel-in-progress : true
5
+ group : ci-${{ github.ref_name }}-${{ github.event_name }}
6
+
7
+ on :
8
+ push :
9
+ branches :
10
+ - main
11
+ schedule :
12
+ - cron : " 0 0 * * *"
13
+
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+ security-events : write
18
+ id-token : write
19
+
20
+ jobs :
21
+ build-server :
22
+ runs-on : ${{ matrix.runner }}
23
+ strategy :
24
+ fail-fast : false
25
+ matrix :
26
+ include :
27
+ - runner : ubuntu-latest
28
+ arch : amd64
29
+ platform : linux/amd64
30
+ - runner : ubuntu-24.04-arm
31
+ arch : arm64
32
+ platform : linux/arm64
33
+ steps :
34
+ - name : Prepare image repository
35
+ id : image-repo
36
+ run : |
37
+ echo "today=$(date +%Y%m%d)" >> $GITHUB_OUTPUT
38
+ - name : Build docker
39
+ uses : meysam81/build-docker@main
40
+ with :
41
+ context : ./server
42
+ cosign : true
43
+ image-extra-tags : |
44
+ ghcr.io/${{ github.repository }}/ente-server:${{ steps.image-repo.outputs.today }}-${{ matrix.arch }}
45
+ image-name : ghcr.io/${{ github.repository }}/ente-server
46
+ kubescape : true
47
+ kubescape-upload-sarif : true
48
+ platforms : ${{ matrix.platform }}
49
+ repository : ente-io/ente
You can’t perform that action at this time.
0 commit comments