Skip to content

Commit

Permalink
chore: fix typo (#3774)
Browse files Browse the repository at this point in the history
* chore: fix typo

Signed-off-by: Dominik Rosiek <[email protected]>

* chore: do not force oci format

Signed-off-by: Dominik Rosiek <[email protected]>

* feat: get docker anonymously

Signed-off-by: Dominik Rosiek <[email protected]>

---------

Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
sumo-drosiek authored Jul 15, 2024
1 parent db5e32d commit da2db2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sync-repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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])] }}
2 changes: 1 addition & 1 deletion ci/sync-repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit da2db2a

Please sign in to comment.