Skip to content

Commit e72aba3

Browse files
authored
Merge pull request #27 from OpenVoxProject/prep_templating
ci: update sync.yml for templating
2 parents 504cccf + 94d1a9a commit e72aba3

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

.sync.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,39 @@
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/openbolt:${{ matrix.rubygem_openbolt }}'
87
build_platforms: 'linux/${{ matrix.platform }}'
98
build_args:
109
- 'BASE_IMAGE=${{ matrix.base_image }}'
1110
- 'RUBYGEM_BUNDLER=${{ matrix.rubygem_bundler }}'
1211
- 'RUBYGEM_OPENBOLT=${{ matrix.rubygem_openbolt }}'
12+
.github/workflows/ci.yml:
13+
build_job_name: 'Build ${{ matrix.platform }} CI container'
1314
test_repository: voxpupuli/puppet-example
1415
test_commands:
1516
- '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

Comments
 (0)