-
Notifications
You must be signed in to change notification settings - Fork 120
49 lines (46 loc) · 1.43 KB
/
build-images-action.yml
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
name: build-images-action
permissions:
contents: read
on:
push:
branches:
- 'main'
- 'release-*'
tags:
- 'v*'
jobs:
build_ironic:
name: Build Ironic container image
if: github.repository == 'metal3-io/ironic-image'
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'ironic'
pushImage: 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'
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'sushy-tools'
dockerfile-directory: resources/sushy-tools
pushImage: 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'
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'vbmc'
dockerfile-directory: resources/vbmc
pushImage: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}