-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.sync.yml
More file actions
40 lines (40 loc) · 2.18 KB
/
Copy path.sync.yml
File metadata and controls
40 lines (40 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
:global:
matrix_command: bash matrix.sh build
matrix_requires_yq: true
build_runner: '${{ matrix.runner }}'
image_tag: 'ci/onceover:${{ matrix.rubygem_onceover }}'
build_platforms: 'linux/${{ matrix.platform }}'
build_args:
- 'BASE_IMAGE=${{ matrix.base_image }}'
- 'RUBYGEM_BUNDLER=${{ matrix.rubygem_bundler }}'
- 'RUBYGEM_ONCEOVER=${{ matrix.rubygem_onceover }}'
- 'RUBYGEM_ONCEOVER_CODEQUALITY=${{ matrix.rubygem_onceover_codequality }}'
.github/workflows/ci.yml:
build_job_name: 'Build ${{ matrix.platform }} CI container'
test_repository: voxpupuli/puppet-example
test_commands:
- 'docker run --rm -v "$PWD:/repo:Z" ci/onceover:${{ matrix.rubygem_onceover }} -h'
.github/workflows/security_scanning.yml:
scan_job_name: 'Scan ${{ matrix.platform }} container'
sarif_category: 'grype-${{ matrix.platform }}'
.github/workflows/build_container.yml:
publish_build_job_name: 'Build onceover ${{ matrix.rubygem_onceover }} (${{ matrix.platform }})'
publish_build_arch: 'linux/${{ matrix.platform }}'
publish_tags:
- 'ghcr.io/${{ github.repository_owner }}/onceover:${{ github.sha }}-v${{ matrix.rubygem_onceover }}-${{ matrix.platform }}'
publish_manifest_matrix_command: bash matrix.sh tag
publish_manifest_steps:
- name: Create multi-architecture manifests
commands:
- >-
docker buildx imagetools create
-t ghcr.io/${{ github.repository_owner }}/onceover:${{ matrix.rubygem_onceover }}-${{ github.ref_name }}
-t ghcr.io/${{ github.repository_owner }}/onceover:${{ matrix.rubygem_onceover }}-latest
-t ghcr.io/${{ github.repository_owner }}/onceover:latest
-t docker.io/${{ github.repository_owner }}/onceover:${{ matrix.rubygem_onceover }}-${{ github.ref_name }}
-t docker.io/${{ github.repository_owner }}/onceover:${{ matrix.rubygem_onceover }}-latest
-t docker.io/${{ github.repository_owner }}/onceover:latest
ghcr.io/${{ github.repository_owner }}/onceover:${{ github.sha }}-v${{ matrix.rubygem_onceover }}-arm64
ghcr.io/${{ github.repository_owner }}/onceover:${{ github.sha }}-v${{ matrix.rubygem_onceover }}-amd64
dockerhub_repository: voxpupuli/onceover