Merge pull request #536 from Vincent056/image-w #219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release latest | |
on: | |
push: | |
branches: ["master"] | |
jobs: | |
# Push to latest | |
operator-container-push-latest: | |
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: latest | |
dockerfile_path: build/Dockerfile | |
vendor: "Compliance Operator Authors" | |
platforms: "linux/amd64,linux/ppc64le,linux/s390x" | |
bundle-container-push-latest: | |
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: latest | |
dockerfile_path: bundle.Dockerfile | |
vendor: "Compliance Operator Authors" | |
platforms: "linux/amd64,linux/ppc64le,linux/s390x" | |
openscap-container-push-latest: | |
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: latest | |
dockerfile_path: images/openscap/Dockerfile | |
vendor: "Compliance Operator Authors" | |
platforms: "linux/amd64,linux/ppc64le,linux/s390x" | |
catalog-container-push-pr: | |
needs: | |
- operator-container-push-latest | |
- bundle-container-push-latest | |
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: latest | |
dockerfile_path: catalog.Dockerfile | |
vendor: "Compliance Operator Authors" | |
prepare_command: | | |
make catalog-docker BUNDLE_IMGS=ghcr.io/complianceascode/compliance-operator-bundle:latest | |
platforms: "linux/amd64,linux/ppc64le,linux/s390x" |