Skip to content

chore: add script and action to sync repositories #1

chore: add script and action to sync repositories

chore: add script and action to sync repositories #1

name: Dev builds
on:
push:
branches:
- drosiek-sync-container-repositories
jobs:
sync-repositories:
strategy:
matrix:
include:
- docker_username: DOCKERHUB_LOGIN_BUSYBOX
docker_password: DOCKERHUB_PASSWORD_BUSYBOX
aws_access_key: AWS_ACCESS_KEY_ID_BUSYBOX
aws_secret_access_key: AWS_SECRET_ACCESS_KEY_BUSYBOX
src_repository: docker.io/busybox
dest_docker_namespace: docker.io/sumologic
dest_ecr_namespace: public.ecr.aws/a4t4y2n3
uses: ./.github/workflows/workflow-sync-repositories.yml

Check failure on line 20 in .github/workflows/sync-repositories.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync-repositories.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/sync-repositories.yaml" -> "./.github/workflows/workflow-sync-repositories.yml" : failed to fetch workflow: workflow was not found.
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] }}