@@ -3,44 +3,46 @@ name: nodejs14
3
3
on :
4
4
push :
5
5
branches :
6
- - main
7
- - master
6
+ - main
7
+ - master
8
+ schedule :
9
+ - cron : ' 30 12 * * 3'
8
10
9
11
jobs :
10
12
build :
11
13
runs-on : ubuntu-latest
12
14
steps :
13
- - name : Checkout
14
-
15
+ - name : Checkout
16
+
15
17
16
- - name : Set up QEMU
17
-
18
- with :
19
- platforms : all
18
+ - name : Set up QEMU
19
+
20
+ with :
21
+ platforms : all
20
22
21
- - name : Set up Docker Buildx
22
- id : buildx
23
-
24
- with :
25
- install : true
26
- version : latest
27
- driver-opts : image=moby/buildkit:master
23
+ - name : Set up Docker Buildx
24
+ id : buildx
25
+
26
+ with :
27
+ install : true
28
+ version : latest
29
+ driver-opts : image=moby/buildkit:master
28
30
29
- - name : Login to GitHub Packages Docker Registry
30
-
31
- with :
32
- registry : ghcr.io
33
- username : ${{github.actor}}
34
- password : ${{ secrets.GITHUB_TOKEN }}
35
- # username: jenkins-arvato
36
- # password: ${{ secrets.CR_PAT }}
37
- - name : Build and Push
38
-
39
- with :
40
- platforms : linux/amd64,linux/arm64
41
- push : true
42
- pull : true
43
- file : ./Dockerfile.nodejs14
44
- tags : ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs14:latest
45
- cache-from : type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs14:latest
46
- cache-to : type=inline
31
+ - name : Login to GitHub Packages Docker Registry
32
+
33
+ with :
34
+ registry : ghcr.io
35
+ username : ${{github.actor}}
36
+ password : ${{ secrets.GITHUB_TOKEN }}
37
+ # username: jenkins-arvato
38
+ # password: ${{ secrets.CR_PAT }}
39
+ - name : Build and Push
40
+
41
+ with :
42
+ platforms : linux/amd64,linux/arm64
43
+ push : true
44
+ pull : true
45
+ file : ./Dockerfile.nodejs14
46
+ tags : ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs14:latest
47
+ cache-from : type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs14:latest
48
+ cache-to : type=inline
0 commit comments