@@ -13,24 +13,24 @@ usage:
13
13
aws-ecr :
circleci/[email protected]
14
14
# importing aws-cli orb is required for authentication
15
15
aws-cli :
circleci/[email protected]
16
- workflows :
17
- build-and-push-image-with-container-registry-login :
18
- jobs :
19
- - aws-ecr/build_and_push_image :
20
- # must set container registry login to true
21
- container_registry_login : true
22
- container_registry_login_step :
23
- # custom login step for heroku.
24
- - run : docker login -u ${HEROKU_USERNAME} -p ${HEROKU_API_KEY}
25
- # custom login step for GitHub Container Registry.
26
- - run : docker login -u ${GITHUB_USERNAME} -p ${GITHUB_TOKEN}
27
- # custom login step for DockerHub.
28
- - run : docker login -u ${DOCKERHUB_ID} -p ${DOCKERHUB_PASSWORD}
29
- auth :
30
- - aws-cli/setup :
31
- role_arn : arn:aws:iam::123456789012
32
- repo : my-sample-repo
33
- tag : sampleTag
34
- dockerfile : Dockerfile
35
- path : .
36
- region : us-west-2
16
+ workflows :
17
+ build-and-push-image-with-container-registry-login :
18
+ jobs :
19
+ - aws-ecr/build_and_push_image :
20
+ # must set container registry login to true
21
+ container_registry_login : true
22
+ container_registry_login_step :
23
+ # custom login step for heroku.
24
+ - run : docker login -u ${HEROKU_USERNAME} -p ${HEROKU_API_KEY}
25
+ # custom login step for GitHub Container Registry.
26
+ - run : docker login -u ${GITHUB_USERNAME} -p ${GITHUB_TOKEN}
27
+ # custom login step for DockerHub.
28
+ - run : docker login -u ${DOCKERHUB_ID} -p ${DOCKERHUB_PASSWORD}
29
+ auth :
30
+ - aws-cli/setup :
31
+ role_arn : arn:aws:iam::123456789012
32
+ repo : my-sample-repo
33
+ tag : sampleTag
34
+ dockerfile : Dockerfile
35
+ path : .
36
+ region : us-west-2
0 commit comments