forked from openshift/compliance-operator
-
Notifications
You must be signed in to change notification settings - Fork 27
71 lines (66 loc) · 2.11 KB
/
release.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Release
on:
push:
tags:
- v**
jobs:
container-main:
permissions:
contents: read
id-token: write
packages: write
uses: metal-toolbox/container-push/.github/workflows/container-push.yml@main
with:
name: compliance-operator
registry_org: complianceascode
tag: ${GITHUB_REF_NAME}
dockerfile_path: build/Dockerfile
vendor: "Compliance Operator Authors"
platforms: "linux/amd64,linux/ppc64le,linux/s390x"
openscap-container:
permissions:
contents: read
id-token: write
packages: write
uses: metal-toolbox/container-push/.github/workflows/container-push.yml@main
with:
name: openscap-ocp
registry_org: complianceascode
tag: ${GITHUB_REF_NAME}
dockerfile_path: images/openscap/Dockerfile
vendor: "Compliance Operator Authors"
platforms: "linux/amd64,linux/ppc64le,linux/s390x"
bundle-container:
permissions:
contents: read
id-token: write
packages: write
uses: metal-toolbox/container-push/.github/workflows/container-push.yml@main
with:
name: compliance-operator-bundle
registry_org: complianceascode
tag: ${GITHUB_REF_NAME}
dockerfile_path: bundle.Dockerfile
vendor: "Compliance Operator Authors"
platforms: "linux/amd64,linux/ppc64le,linux/s390x"
catalog-container-push-pr:
# Temporary workaround for SBOM issue https://github.com/metal-toolbox/container-push/pull/77
if: always()
needs:
- container-main
- openscap-container
- bundle-container
permissions:
contents: read
id-token: write
packages: write
uses: metal-toolbox/container-push/.github/workflows/container-push.yml@main
with:
name: compliance-operator-catalog
registry_org: complianceascode
tag: ${GITHUB_REF_NAME}
dockerfile_path: catalog.Dockerfile
vendor: "Compliance Operator Authors"
prepare_command: |
make catalog-docker BUNDLE_IMGS=ghcr.io/complianceascode/compliance-operator-bundle:${GITHUB_REF_NAME}
platforms: "linux/amd64,linux/ppc64le,linux/s390x"