-
Notifications
You must be signed in to change notification settings - Fork 184
29 lines (27 loc) · 1.09 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
name: Sync Repositories
on:
push:
branches:
- drosiek-sync-container-repositories
jobs:
sync-repositories:
strategy:
matrix:
include:
- docker_username: DOCKERHUB_LOGIN_KUBE_RBAC_PROXY
docker_password: DOCKERHUB_PASSWORD_KUBE_RBAC_PROXY
aws_access_key: AWS_ACCESS_KEY_ID_KUBE_RBAC_PROXY
aws_secret_access_key: AWS_SECRET_ACCESS_KEY_KUBE_RBAC_PROXY
src_repository: quay.io/brancz/kube-rbac-proxy
dest_docker_namespace: docker.io/sumologic
dest_ecr_namespace: public.ecr.aws/a4t4y2n3
uses: ./.github/workflows/workflow-sync-repositories.yaml
with:
src_repository: ${{ matrix.src_repository }}
dest_docker_namespace: ${{ matrix.dest_docker_namespace }}
dest_ecr_namespace: ${{ matrix.dest_ecr_namespace }}
secrets:
DOCKER_USERNAME: ${{ secrets[matrix.docker_username] }}
DOCKER_PASSWORD: ${{ secrets[matrix.docker_password] }}
AWS_ACCESS_KEY_ID: ${{ secrets[matrix.aws_access_key] }}
AWS_SECRET_ACCESS_KEY: ${{ secrets[matrix.aws_secret_access_key] }}