|
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/openvoxagent:${{ matrix.agent_semver }}-${{ matrix.platform }}' |
8 | 7 | build_platforms: 'linux/${{ matrix.platform }}' |
9 | 8 | build_args: |
10 | 9 | - 'OPENVOX_RELEASE=${{ matrix.release }}' |
11 | 10 | - 'OPENVOXAGENT_VERSION=${{ matrix.agent_version }}' |
| 11 | +.github/workflows/ci.yml: |
| 12 | + build_job_name: 'Build ${{ matrix.platform }} CI container' |
| 13 | +.github/workflows/security_scanning.yml: |
| 14 | + scan_job_name: 'Scan ${{ matrix.platform }} container' |
| 15 | + sarif_category: 'grype-${{ matrix.platform }}' |
| 16 | +.github/workflows/build_container.yml: |
| 17 | + publish_tag_patterns: |
| 18 | + - 'v*' |
| 19 | + publish_build_job_name: 'Build OpenVox agent ${{ matrix.agent_semver }} (${{ matrix.platform }})' |
| 20 | + publish_build_arch: 'linux/${{ matrix.platform }}' |
| 21 | + publish_tags: |
| 22 | + - 'ghcr.io/openvoxproject/openvoxagent:${{ matrix.release }}-${{ github.sha }}-${{ matrix.platform }}' |
| 23 | + publish_manifest_matrix_command: bash matrix.sh tag |
| 24 | + publish_manifest_steps: |
| 25 | + - name: Create ref-specific multi-architecture manifests |
| 26 | + commands: |
| 27 | + - >- |
| 28 | + docker buildx imagetools create |
| 29 | + -t ghcr.io/openvoxproject/openvoxagent:${{ matrix.agent_semver }}-${{ github.ref_name }} |
| 30 | + -t ghcr.io/openvoxproject/openvoxagent:${{ matrix.agent_semver }} |
| 31 | + -t ghcr.io/openvoxproject/openvoxagent:${{ matrix.release }} |
| 32 | + -t docker.io/voxpupuli/openvoxagent:${{ matrix.agent_semver }}-${{ github.ref_name }} |
| 33 | + -t docker.io/voxpupuli/openvoxagent:${{ matrix.agent_semver }} |
| 34 | + -t docker.io/voxpupuli/openvoxagent:${{ matrix.release }} |
| 35 | + ghcr.io/openvoxproject/openvoxagent:${{ matrix.release }}-${{ github.sha }}-arm64 |
| 36 | + ghcr.io/openvoxproject/openvoxagent:${{ matrix.release }}-${{ github.sha }}-amd64 |
| 37 | + - name: Update floating multi-architecture tags |
| 38 | + if: "github.ref == 'refs/heads/main'" |
| 39 | + commands: |
| 40 | + - >- |
| 41 | + docker buildx imagetools create |
| 42 | + -t ghcr.io/openvoxproject/openvoxagent:latest |
| 43 | + -t docker.io/voxpupuli/openvoxagent:latest |
| 44 | + ghcr.io/openvoxproject/openvoxagent:${{ matrix.release }}-${{ github.sha }}-arm64 |
| 45 | + ghcr.io/openvoxproject/openvoxagent:${{ matrix.release }}-${{ github.sha }}-amd64 |
| 46 | + dockerhub_repository: voxpupuli/openvoxagent |
0 commit comments