|
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.os }} / ${{ matrix.platform }} CI container' |
6 | 5 | build_runner: '${{ matrix.runner }}' |
7 | 6 | build_file: 'Containerfile.${{ matrix.os }}' |
8 | 7 | image_tag: 'ci/openvoxserver:${{ matrix.server_version }}-${{ matrix.os }}-${{ matrix.platform }}' |
|
14 | 13 | - 'RUBYGEM_R10K=${{ matrix.rubygem_r10k }}' |
15 | 14 | - 'RUBYGEM_RUGGED=${{ matrix.rubygem_rugged }}' |
16 | 15 | - 'JDK_VERSION=${{ matrix.jdk_version }}' |
| 16 | +.github/workflows/ci.yml: |
| 17 | + build_job_name: 'Build ${{ matrix.os }} / ${{ matrix.platform }} CI container' |
| 18 | +.github/workflows/security_scanning.yml: |
| 19 | + scan_job_name: 'Scan ${{ matrix.os }} / ${{ matrix.platform }} container' |
| 20 | + sarif_category: 'grype-${{ matrix.os }}-${{ matrix.platform }}' |
| 21 | +.github/workflows/build_container.yml: |
| 22 | + publish_tag_patterns: |
| 23 | + - 'v*' |
| 24 | + publish_build_job_name: 'Build OpenVox Server ${{ matrix.server_version }} (${{ matrix.os }}/${{ matrix.platform }})' |
| 25 | + publish_build_arch: 'linux/${{ matrix.platform }}' |
| 26 | + publish_tags: |
| 27 | + - 'ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-${{ matrix.os }}-${{ matrix.platform }}' |
| 28 | + publish_manifest_matrix_command: bash matrix.sh tag |
| 29 | + publish_manifest_steps: |
| 30 | + - name: Create ref-specific Ubuntu manifest |
| 31 | + commands: |
| 32 | + - >- |
| 33 | + docker buildx imagetools create |
| 34 | + -t ghcr.io/openvoxproject/openvoxserver:${{ matrix.server_version }}-${{ github.ref_name }} |
| 35 | + -t ghcr.io/openvoxproject/openvoxserver:${{ matrix.server_version }} |
| 36 | + -t ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }} |
| 37 | + -t docker.io/voxpupuli/openvoxserver:${{ matrix.server_version }}-${{ github.ref_name }} |
| 38 | + -t docker.io/voxpupuli/openvoxserver:${{ matrix.server_version }} |
| 39 | + -t docker.io/voxpupuli/openvoxserver:${{ matrix.release }} |
| 40 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-ubuntu-arm64 |
| 41 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-ubuntu-amd64 |
| 42 | + - name: Create ref-specific Alpine manifest |
| 43 | + commands: |
| 44 | + - >- |
| 45 | + docker buildx imagetools create |
| 46 | + -t ghcr.io/openvoxproject/openvoxserver:${{ matrix.server_version }}-${{ github.ref_name }}-alpine |
| 47 | + -t ghcr.io/openvoxproject/openvoxserver:${{ matrix.server_version }}-alpine |
| 48 | + -t ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-alpine |
| 49 | + -t docker.io/voxpupuli/openvoxserver:${{ matrix.server_version }}-${{ github.ref_name }}-alpine |
| 50 | + -t docker.io/voxpupuli/openvoxserver:${{ matrix.server_version }}-alpine |
| 51 | + -t docker.io/voxpupuli/openvoxserver:${{ matrix.release }}-alpine |
| 52 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-alpine-arm64 |
| 53 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-alpine-amd64 |
| 54 | + - name: Update floating Ubuntu tag |
| 55 | + if: "github.ref == 'refs/heads/main'" |
| 56 | + commands: |
| 57 | + - >- |
| 58 | + docker buildx imagetools create |
| 59 | + -t ghcr.io/openvoxproject/openvoxserver:latest |
| 60 | + -t docker.io/voxpupuli/openvoxserver:latest |
| 61 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-ubuntu-arm64 |
| 62 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-ubuntu-amd64 |
| 63 | + - name: Update floating Alpine tag |
| 64 | + if: "github.ref == 'refs/heads/main'" |
| 65 | + commands: |
| 66 | + - >- |
| 67 | + docker buildx imagetools create |
| 68 | + -t ghcr.io/openvoxproject/openvoxserver:latest-alpine |
| 69 | + -t docker.io/voxpupuli/openvoxserver:latest-alpine |
| 70 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-alpine-arm64 |
| 71 | + ghcr.io/openvoxproject/openvoxserver:${{ matrix.release }}-${{ github.sha }}-alpine-amd64 |
| 72 | + dockerhub_repository: voxpupuli/openvoxserver |
0 commit comments