forked from metal3-io/ironic-image
-
Notifications
You must be signed in to change notification settings - Fork 1
98 lines (95 loc) · 2.95 KB
/
build-images-action.yml
File metadata and controls
98 lines (95 loc) · 2.95 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: build-images-action
permissions:
contents: read
on:
push:
branches:
- 'main'
- 'release-*'
tags:
- 'v*'
jobs:
build_ironic:
name: Build Ironic container image with default base image
if: github.repository == 'metal3-io/ironic-image'
permissions:
contents: read
id-token: write
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'ironic'
pushImage: true
generate-sbom: true
sign-image: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
build_ironic_cs10:
name: Build Ironic container image with CentOS Stream 10
if: github.repository == 'metal3-io/ironic-image'
permissions:
contents: read
id-token: write
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'ironic_cs10'
pushImage: true
image-build-args: 'BASE_IMAGE=quay.io/centos/centos:stream10'
generate-sbom: true
sign-image: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
build_sushy-tools:
name: Build sushy-tools image
if: github.repository == 'metal3-io/ironic-image'
permissions:
contents: read
id-token: write
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'sushy-tools'
dockerfile-directory: resources/sushy-tools
pushImage: true
generate-sbom: true
sign-image: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
build_vbmc:
name: build vbmc image
if: github.repository == 'metal3-io/ironic-image'
permissions:
contents: read
id-token: write
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'vbmc'
dockerfile-directory: resources/vbmc
pushImage: true
generate-sbom: true
sign-image: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
build_client:
name: build ironic-client image
if: github.repository == 'metal3-io/ironic-image'
permissions:
contents: read
id-token: write
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'ironic-client'
dockerfile-directory: resources/ironic-client
pushImage: true
generate-sbom: true
sign-image: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}