-
Notifications
You must be signed in to change notification settings - Fork 11
53 lines (43 loc) · 1.02 KB
/
build_image.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
name: Build Images
on:
push:
branches:
- main
pull_request:
jobs:
build-fedora:
name: Build Fedora image
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Buildah Action
uses: redhat-actions/buildah-build@v2
with:
image: selinuxd-fedora
tags: latest ${{ github.sha }}
dockerfiles: |
./images/fedora/Dockerfile
build-el8:
name: Build EL8 image
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Buildah Action
uses: redhat-actions/buildah-build@v2
with:
image: selinuxd-el8
tags: latest ${{ github.sha }}
dockerfiles: |
./images/el8/Dockerfile
build-el9:
name: Build EL9 image
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Buildah Action
uses: redhat-actions/buildah-build@v2
with:
image: selinuxd-el9
tags: latest ${{ github.sha }}
dockerfiles: |
./images/el9/Dockerfile