Migrate some containers to ghcr.io #690
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build_container: | |
strategy: | |
matrix: | |
job: | |
- dir: "./argocd-image-updater" | |
container-image: "argocd-image-updater" | |
scan: "true" | |
- dir: "./bird" | |
container-image: "bird" | |
scan: "true" | |
- dir: "./bpf-map-pressure-exporter" | |
container-image: "bpf-map-pressure-exporter" | |
make_test: true | |
- dir: "./chrony" | |
container-image: "chrony" | |
scan: "true" | |
- dir: "./configmap-reload" | |
container-image: "configmap-reload" | |
- dir: "./contour" | |
container-image: "contour" | |
- dir: "./coredns" | |
container-image: "coredns" | |
scan: "true" | |
- dir: "./dex" | |
container-image: "dex" | |
scan: "true" | |
- dir: "./etcd" | |
container-image: "etcd" | |
scan: "true" | |
- dir: "./external-dns" | |
container-image: "external-dns" | |
scan: "true" | |
- dir: "./fluent-bit" | |
container-image: "fluent-bit" | |
scan: "true" | |
- dir: "./golang-all/golang-1.20-focal" | |
container-image: "golang" | |
enable_arm64: true | |
scan: "true" | |
- dir: "./golang-all/golang-1.20-jammy" | |
container-image: "golang" | |
enable_arm64: true | |
scan: "true" | |
- dir: "./golang-all/golang-1.21-focal" | |
container-image: "golang" | |
enable_arm64: true | |
scan: "true" | |
- dir: "./golang-all/golang-1.21-jammy" | |
container-image: "golang" | |
enable_arm64: true | |
scan: "true" | |
- dir: "./haproxy" | |
container-image: "haproxy" | |
scan: "true" | |
- dir: "./kubernetes" | |
container-image: "kubernetes" | |
scan: "true" | |
- dir: "./pause" | |
container-image: "pause" | |
- dir: "./pod-delete-rate-limiter" | |
container-image: "pod-delete-rate-limiter" | |
make_test: true | |
- dir: "./pomerium" | |
container-image: "pomerium" | |
scan: "true" | |
- dir: "./prometheus-config-reloader" | |
container-image: "prometheus-config-reloader" | |
scan: "true" | |
- dir: "./pushgateway" | |
container-image: "pushgateway" | |
- dir: "./redis" | |
container-image: "redis" | |
scan: "true" | |
- dir: "./registry" | |
container-image: "registry" | |
scan: "true" | |
- dir: "./sealed-secrets" | |
container-image: "sealed-secrets" | |
- dir: "./serf" | |
container-image: "serf" | |
scan: "true" | |
- dir: "./stakater-reloader" | |
container-image: "stakater-reloader" | |
- dir: "./spegel" | |
container-image: "spegel" | |
- dir: "./squid" | |
container-image: "squid" | |
scan: "true" | |
- dir: "./tempo" | |
container-image: "tempo" | |
scan: "true" | |
- dir: "./testhttpd" | |
container-image: "testhttpd" | |
- dir: "./trust-manager" | |
container-image: "trust-manager" | |
- dir: "./trust-packages" | |
container-image: "trust-packages" | |
- dir: "./unbound" | |
container-image: "unbound" | |
scan: "true" | |
- dir: "./unbound_exporter" | |
container-image: "unbound_exporter" | |
- dir: "./vault" | |
container-image: "vault" | |
scan: "true" | |
runs-on: ubuntu-22.04 | |
env: | |
go-version: "1.21" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup build environment | |
uses: ./.github/actions/setup | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
go-version: ${{ env.go-version }} | |
- name: Build container image | |
uses: ./.github/actions/build_push | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
yamory_token: ${{ secrets.YAMORY_ACCESS_TOKEN }} | |
dir: ${{ matrix.job.dir }} | |
container-image: ${{ matrix.job.container-image }} | |
enable_arm64: ${{ matrix.job.enable_arm64 }} | |
make_test: ${{ matrix.job.make_test }} | |
scan: ${{ matrix.job.scan }} |