Repository navigation
Expand file tree
/
Copy pathbuild-lambda-runtime-dockerfiles.yml
More file actions
71 lines (62 loc) · 2.34 KB
/
Copy pathbuild-lambda-runtime-dockerfiles.yml
File metadata and controls
71 lines (62 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Build Lambda Runtime Images
on:
pull_request:
paths:
- "LambdaRuntimeDockerfiles/**"
push:
paths:
- "LambdaRuntimeDockerfiles/**"
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-runtime-images:
name: Build runtime image (${{ matrix.name }})
runs-on: ubuntu-latest
permissions:
contents: read # to check out the repository and build the Dockerfiles
strategy:
fail-fast: false
matrix:
include:
- name: NET 8 AMD64
dockerfile: LambdaRuntimeDockerfiles/Images/net8/amd64/Dockerfile
platform: linux/amd64
- name: NET 8 ARM64
dockerfile: LambdaRuntimeDockerfiles/Images/net8/arm64/Dockerfile
platform: linux/arm64
- name: NET 9 AMD64
dockerfile: LambdaRuntimeDockerfiles/Images/net9/amd64/Dockerfile
platform: linux/amd64
- name: NET 9 ARM64
dockerfile: LambdaRuntimeDockerfiles/Images/net9/arm64/Dockerfile
platform: linux/arm64
- name: NET 10 AMD64
dockerfile: LambdaRuntimeDockerfiles/Images/net10/amd64/Dockerfile
platform: linux/amd64
- name: NET 10 ARM64
dockerfile: LambdaRuntimeDockerfiles/Images/net10/arm64/Dockerfile
platform: linux/arm64
- name: NET 11 AMD64
dockerfile: LambdaRuntimeDockerfiles/Images/net11/amd64/Dockerfile
platform: linux/amd64
- name: NET 11 ARM64
dockerfile: LambdaRuntimeDockerfiles/Images/net11/arm64/Dockerfile
platform: linux/arm64
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up QEMU
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- name: Build ${{ matrix.name }}
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7
with:
context: .
file: ${{ matrix.dockerfile }}
platforms: ${{ matrix.platform }}
push: false
provenance: false