Skip to content

Commit e23c456

Browse files
Cron
Signed-off-by: Patrick Robinson <[email protected]>
1 parent 1602c8d commit e23c456

File tree

8 files changed

+181
-165
lines changed

8 files changed

+181
-165
lines changed

.github/workflows/java11.yaml

+35-33
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,46 @@ name: java11
33
on:
44
push:
55
branches:
6-
- main
7-
- master
6+
- main
7+
- master
8+
schedule:
9+
- cron: '30 12 * * 3'
810

911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
1214
steps:
13-
- name: Checkout
14-
uses: actions/[email protected]
15+
- name: Checkout
16+
uses: actions/[email protected]
1517

16-
- name: Set up QEMU
17-
uses: docker/[email protected]
18-
with:
19-
platforms: all
18+
- name: Set up QEMU
19+
uses: docker/[email protected]
20+
with:
21+
platforms: all
2022

21-
- name: Set up Docker Buildx
22-
id: buildx
23-
uses: docker/[email protected]
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+
uses: docker/[email protected]
26+
with:
27+
install: true
28+
version: latest
29+
driver-opts: image=moby/buildkit:master
2830

29-
- name: Login to GitHub Packages Docker Registry
30-
uses: docker/[email protected]
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-
uses: docker/[email protected]
39-
with:
40-
platforms: linux/amd64,linux/arm64
41-
push: true
42-
pull: true
43-
file: ./Dockerfile.java11
44-
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/java11:latest
45-
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/java11:latest
46-
cache-to: type=inline
31+
- name: Login to GitHub Packages Docker Registry
32+
uses: docker/[email protected]
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+
uses: docker/[email protected]
41+
with:
42+
platforms: linux/amd64,linux/arm64
43+
push: true
44+
pull: true
45+
file: ./Dockerfile.java11
46+
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/java11:latest
47+
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/java11:latest
48+
cache-to: type=inline

.github/workflows/nodejs14.yaml

+35-33
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,46 @@ name: nodejs14
33
on:
44
push:
55
branches:
6-
- main
7-
- master
6+
- main
7+
- master
8+
schedule:
9+
- cron: '30 12 * * 3'
810

911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
1214
steps:
13-
- name: Checkout
14-
uses: actions/[email protected]
15+
- name: Checkout
16+
uses: actions/[email protected]
1517

16-
- name: Set up QEMU
17-
uses: docker/[email protected]
18-
with:
19-
platforms: all
18+
- name: Set up QEMU
19+
uses: docker/[email protected]
20+
with:
21+
platforms: all
2022

21-
- name: Set up Docker Buildx
22-
id: buildx
23-
uses: docker/[email protected]
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+
uses: docker/[email protected]
26+
with:
27+
install: true
28+
version: latest
29+
driver-opts: image=moby/buildkit:master
2830

29-
- name: Login to GitHub Packages Docker Registry
30-
uses: docker/[email protected]
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-
uses: docker/[email protected]
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+
uses: docker/[email protected]
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+
uses: docker/[email protected]
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

.github/workflows/nodejs16.yaml

+35-33
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,46 @@ name: nodejs16
33
on:
44
push:
55
branches:
6-
- main
7-
- master
6+
- main
7+
- master
8+
schedule:
9+
- cron: '30 12 * * 3'
810

911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
1214
steps:
13-
- name: Checkout
14-
uses: actions/[email protected]
15+
- name: Checkout
16+
uses: actions/[email protected]
1517

16-
- name: Set up QEMU
17-
uses: docker/[email protected]
18-
with:
19-
platforms: all
18+
- name: Set up QEMU
19+
uses: docker/[email protected]
20+
with:
21+
platforms: all
2022

21-
- name: Set up Docker Buildx
22-
id: buildx
23-
uses: docker/[email protected]
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+
uses: docker/[email protected]
26+
with:
27+
install: true
28+
version: latest
29+
driver-opts: image=moby/buildkit:master
2830

29-
- name: Login to GitHub Packages Docker Registry
30-
uses: docker/[email protected]
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-
uses: docker/[email protected]
39-
with:
40-
platforms: linux/amd64,linux/arm64
41-
push: true
42-
pull: true
43-
file: ./Dockerfile.nodejs16
44-
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs16:latest
45-
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs16:latest
46-
cache-to: type=inline
31+
- name: Login to GitHub Packages Docker Registry
32+
uses: docker/[email protected]
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+
uses: docker/[email protected]
41+
with:
42+
platforms: linux/amd64,linux/arm64
43+
push: true
44+
pull: true
45+
file: ./Dockerfile.nodejs16
46+
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs16:latest
47+
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs16:latest
48+
cache-to: type=inline

.github/workflows/nodejs18.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- main
77
- master
8+
schedule:
9+
- cron: '30 12 * * 3'
810

911
jobs:
1012
build:

.github/workflows/nodejs20.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- main
77
- master
8+
schedule:
9+
- cron: '30 12 * * 3'
810

911
jobs:
1012
build:

.github/workflows/python3.yaml

+35-33
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,46 @@ name: python3
33
on:
44
push:
55
branches:
6-
- main
7-
- master
6+
- main
7+
- master
8+
schedule:
9+
- cron: '30 12 * * 3'
810

911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
1214
steps:
13-
- name: Checkout
14-
uses: actions/[email protected]
15+
- name: Checkout
16+
uses: actions/[email protected]
1517

16-
- name: Set up QEMU
17-
uses: docker/[email protected]
18-
with:
19-
platforms: all
18+
- name: Set up QEMU
19+
uses: docker/[email protected]
20+
with:
21+
platforms: all
2022

21-
- name: Set up Docker Buildx
22-
id: buildx
23-
uses: docker/[email protected]
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+
uses: docker/[email protected]
26+
with:
27+
install: true
28+
version: latest
29+
driver-opts: image=moby/buildkit:master
2830

29-
- name: Login to GitHub Packages Docker Registry
30-
uses: docker/[email protected]
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-
uses: docker/[email protected]
39-
with:
40-
platforms: linux/amd64,linux/arm64
41-
push: true
42-
pull: true
43-
file: ./Dockerfile.python3
44-
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/python3:latest
45-
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/python3:latest
46-
cache-to: type=inline
31+
- name: Login to GitHub Packages Docker Registry
32+
uses: docker/[email protected]
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+
uses: docker/[email protected]
41+
with:
42+
platforms: linux/amd64,linux/arm64
43+
push: true
44+
pull: true
45+
file: ./Dockerfile.python3
46+
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/python3:latest
47+
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/python3:latest
48+
cache-to: type=inline

0 commit comments

Comments
 (0)