-
Notifications
You must be signed in to change notification settings - Fork 11
63 lines (62 loc) · 2.02 KB
/
main.yaml
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
name: main
on:
pull_request:
push:
branches:
- "main"
jobs:
build_container:
strategy:
matrix:
job:
- dir: ./golang-all/golang-1.19-focal
container-image: "golang"
enable_arm64: true
- dir: ./golang-all/golang-1.19-jammy
container-image: "golang"
enable_arm64: true
- dir: "./golang-all/golang-1.20-focal"
container-image: "golang"
enable_arm64: true
- dir: "./golang-all/golang-1.20-jammy"
container-image: "golang"
enable_arm64: true
- dir: "./golang-all/golang-1.21-focal"
container-image: "golang"
enable_arm64: true
- dir: "./golang-all/golang-1.21-jammy"
container-image: "golang"
enable_arm64: true
- dir: "./haproxy"
container-image: "haproxy"
- dir: "./trust-manager"
container-image: "trust-manager"
- dir: "./stakater-reloader"
container-image: "stakater-reloader"
- dir: "./trust-packages"
container-image: "trust-packages"
- dir: "./pod-delete-rate-limiter"
container-image: "pod-delete-rate-limiter"
make_test: true
- dir: "./spegel"
container-image: "spegel"
- dir: "./fluent-bit"
container-image: "fluent-bit"
runs-on: ubuntu-22.04
env:
go-version: "1.19"
steps:
- uses: actions/checkout@v3
- name: Setup build environment
uses: ./.github/actions/setup
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
go-version: ${{ env.go-version }}
- name: Build container image
uses: ./.github/actions/build_push
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dir: ${{ matrix.job.dir }}
container-image: ${{ matrix.job.container-image }}
enable_arm64: ${{ matrix.job.enable_arm64 }}
make_test: ${{ matrix.job.make_test }}