From da2db2af424bfab90226d70f8f5717424004f198 Mon Sep 17 00:00:00 2001 From: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon, 15 Jul 2024 10:36:41 +0200 Subject: [PATCH] chore: fix typo (#3774) * chore: fix typo Signed-off-by: Dominik Rosiek * chore: do not force oci format Signed-off-by: Dominik Rosiek * feat: get docker anonymously Signed-off-by: Dominik Rosiek --------- Signed-off-by: Dominik Rosiek --- .github/workflows/sync-repository.yaml | 8 ++++---- ci/sync-repository.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync-repository.yaml b/.github/workflows/sync-repository.yaml index 036c153e6..ce00a0e61 100644 --- a/.github/workflows/sync-repository.yaml +++ b/.github/workflows/sync-repository.yaml @@ -35,7 +35,7 @@ jobs: dest_docker_namespace: docker.io/sumologic dest_ecr_namespace: public.ecr.aws/a4t4y2n3 secrets: - DOCKER_USERNAME: ${{ secrets[format('DOCKERHUB_LOGIN_{0}', fromJSON(inputs.input)[0])] }} - DOCKER_PASSWORD: ${{ secrets[format('DOCKERHUB_PASSWORD_{0}', fromJSON(inputs.input)[0])] }} - AWS_ACCESS_KEY_ID: ${{ secrets[format('AWS_ACCESS_KEY_ID_{0}', fromJSON(inputs.input)[0])] }} - AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', fromJSON(inputs.input)[0])] }} + DOCKER_USERNAME: ${{ secrets[format('DOCKERHUB_LOGIN_{0}', fromJSON(inputs.input)[1])] }} + DOCKER_PASSWORD: ${{ secrets[format('DOCKERHUB_PASSWORD_{0}', fromJSON(inputs.input)[1])] }} + AWS_ACCESS_KEY_ID: ${{ secrets[format('AWS_ACCESS_KEY_ID_{0}', fromJSON(inputs.input)[1])] }} + AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', fromJSON(inputs.input)[1])] }} diff --git a/ci/sync-repository.sh b/ci/sync-repository.sh index fc1402170..b643929c9 100755 --- a/ci/sync-repository.sh +++ b/ci/sync-repository.sh @@ -10,9 +10,9 @@ docker run \ --all \ --keep-going \ --preserve-digests \ - -f oci \ --retry-times 5 \ --src docker \ + --src-no-creds \ --dest docker \ "${SRC_REPOSITORY}" \ "${DESTINATION_NAMESPACE}"