Skip to content

Commit 1127ed6

Browse files
authored
Merge pull request #70 from OpenVoxProject/prep_templating
ci: update sync.yml for templating
2 parents ff2f97a + daa7380 commit 1127ed6

1 file changed

Lines changed: 37 additions & 2 deletions

File tree

.sync.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,46 @@
11
---
2-
.github/workflows/ci.yml:
2+
:global:
33
matrix_command: bash matrix.sh build
44
matrix_requires_yq: true
5-
build_job_name: 'Build ${{ matrix.platform }} CI container'
65
build_runner: '${{ matrix.runner }}'
76
image_tag: 'ci/openvoxagent:${{ matrix.agent_semver }}-${{ matrix.platform }}'
87
build_platforms: 'linux/${{ matrix.platform }}'
98
build_args:
109
- 'OPENVOX_RELEASE=${{ matrix.release }}'
1110
- '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

Comments
 (0)