-
Notifications
You must be signed in to change notification settings - Fork 184
61 lines (59 loc) · 2.85 KB
/
sync-repositories.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Sync Repositories
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
sync-repositories:
name: Sync container repositories
strategy:
matrix:
include:
- src_repository: docker.io/bitnami/metrics-server
suffix: METRICS_SERVER
- src_repository: docker.io/busybox
suffix: BUSYBOX
- src_repository: docker.io/nginxinc/nginx-unprivileged
suffix: NGINX_UNPRIVILEGED
- src_repository: docker.io/telegraf
suffix: TELEGRAF
- src_repository: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-dotnet
suffix: AUTOINSTRUMENTATION_DOTNET
- src_repository: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-java
suffix: AUTOINSTRUMENTATION_JAVA
- src_repository: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-nodejs
suffix: AUTOINSTRUMENTATION_NODEJS
- src_repository: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-python
suffix: AUTOINSTRUMENTATION_PYTHON
- src_repository: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
suffix: OPENTELEMETRY_OPERATOR
- src_repository: public.ecr.aws/falcosecurity/falco-driver-loader
suffix: FALCO_DRIVER_LOADER
- src_repository: public.ecr.aws/falcosecurity/falco-no-driver
suffix: FALCO_NO_DRIVER
- src_repository: quay.io/brancz/kube-rbac-proxy
suffix: KUBE_RBAC_PROXY
- src_repository: quay.io/influxdb/telegraf-operator
suffix: TELEGRAF_OPERATOR
- src_repository: quay.io/prometheus/node-exporter
suffix: NODE_EXPORTER
- src_repository: quay.io/prometheus/prometheus
suffix: PROMETHEUS
- src_repository: quay.io/prometheus-operator/prometheus-config-reloader
suffix: PROMETHEUS_CONFIG_RELOADER
- src_repository: quay.io/prometheus-operator/prometheus-operator
suffix: PROMETHEUS_OPERATOR
- src_repository: quay.io/thanos/thanos
suffix: THANOS
- src_repository: registry.k8s.io/kube-state-metrics/kube-state-metrics
suffix: KUBE_STATE_METRICS
uses: ./.github/workflows/workflow-sync-repositories.yaml
with:
src_repository: ${{ matrix.src_repository }}
dest_docker_namespace: docker.io/sumologic
dest_ecr_namespace: public.ecr.aws/a4t4y2n3
secrets:
DOCKER_USERNAME: ${{ secrets[format('DOCKERHUB_LOGIN_{0}', matrix.suffix)] }}
DOCKER_PASSWORD: ${{ secrets[format('DOCKERHUB_PASSWORD_{0}', matrix.suffix)] }}
AWS_ACCESS_KEY_ID: ${{ secrets[format('AWS_ACCESS_KEY_ID_{0}', matrix.suffix)] }}
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', matrix.suffix)] }}