|
1 | 1 | --- |
2 | | -.github/workflows/ci.yml: |
| 2 | +:global: |
3 | 3 | matrix_command: bash matrix.sh build |
4 | 4 | matrix_requires_yq: true |
5 | | - build_job_name: 'Build ${{ matrix.platform }} CI container' |
6 | 5 | build_runner: '${{ matrix.runner }}' |
7 | 6 | image_tag: 'ci/openbolt:${{ matrix.rubygem_openbolt }}' |
8 | 7 | build_platforms: 'linux/${{ matrix.platform }}' |
9 | 8 | build_args: |
10 | 9 | - 'BASE_IMAGE=${{ matrix.base_image }}' |
11 | 10 | - 'RUBYGEM_BUNDLER=${{ matrix.rubygem_bundler }}' |
12 | 11 | - 'RUBYGEM_OPENBOLT=${{ matrix.rubygem_openbolt }}' |
| 12 | +.github/workflows/ci.yml: |
| 13 | + build_job_name: 'Build ${{ matrix.platform }} CI container' |
13 | 14 | test_repository: voxpupuli/puppet-example |
14 | 15 | test_commands: |
15 | 16 | - 'docker run --rm -v "$PWD:/repo:Z" ci/openbolt:${{ matrix.rubygem_openbolt }} -h' |
| 17 | +.github/workflows/security_scanning.yml: |
| 18 | + scan_job_name: 'Scan ${{ matrix.platform }} container' |
| 19 | + sarif_category: 'grype-${{ matrix.platform }}' |
| 20 | +.github/workflows/build_container.yml: |
| 21 | + publish_build_job_name: 'Build OpenBolt ${{ matrix.rubygem_openbolt }} (${{ matrix.platform }})' |
| 22 | + publish_build_arch: 'linux/${{ matrix.platform }}' |
| 23 | + publish_tags: |
| 24 | + - 'ghcr.io/openvoxproject/openbolt:${{ github.sha }}-v${{ matrix.rubygem_openbolt }}-${{ matrix.platform }}' |
| 25 | + publish_manifest_matrix_command: bash matrix.sh tag |
| 26 | + publish_manifest_steps: |
| 27 | + - name: Create multi-architecture manifests |
| 28 | + commands: |
| 29 | + - >- |
| 30 | + docker buildx imagetools create |
| 31 | + -t ghcr.io/openvoxproject/openbolt:${{ matrix.rubygem_openbolt }}-${{ github.ref_name }} |
| 32 | + -t ghcr.io/openvoxproject/openbolt:${{ matrix.rubygem_openbolt }}-latest |
| 33 | + -t ghcr.io/openvoxproject/openbolt:latest |
| 34 | + -t docker.io/voxpupuli/openbolt:${{ matrix.rubygem_openbolt }}-${{ github.ref_name }} |
| 35 | + -t docker.io/voxpupuli/openbolt:${{ matrix.rubygem_openbolt }}-latest |
| 36 | + -t docker.io/voxpupuli/openbolt:latest |
| 37 | + ghcr.io/openvoxproject/openbolt:${{ github.sha }}-v${{ matrix.rubygem_openbolt }}-arm64 |
| 38 | + ghcr.io/openvoxproject/openbolt:${{ github.sha }}-v${{ matrix.rubygem_openbolt }}-amd64 |
| 39 | + dockerhub_repository: voxpupuli/openbolt |
0 commit comments