diff --git a/src/examples/build_and_push_image_w_registry_login.yml b/src/examples/build_and_push_image_w_registry_login.yml index a2b59d3..141c530 100644 --- a/src/examples/build_and_push_image_w_registry_login.yml +++ b/src/examples/build_and_push_image_w_registry_login.yml @@ -12,14 +12,14 @@ usage: orbs: aws-ecr: circleci/aws-ecr@9.0 # importing aws-cli orb is required for authentication - aws-cli: circleci/aws-cli@4.0 + aws-cli: circleci/aws-cli@5.1 workflows: build-and-push-image-with-container-registry-login: jobs: - aws-ecr/build_and_push_image: # must set container registry login to true container_registry_login: true - container_registry_login_step: + registry_login: # custom login step for heroku. - run: docker login -u ${HEROKU_USERNAME} -p ${HEROKU_API_KEY} # custom login step for GitHub Container Registry. diff --git a/src/examples/build_test_then_push_image.yml b/src/examples/build_test_then_push_image.yml index 9011079..8a48edd 100644 --- a/src/examples/build_test_then_push_image.yml +++ b/src/examples/build_test_then_push_image.yml @@ -10,7 +10,7 @@ usage: orbs: aws-ecr: circleci/aws-ecr@9.0 # importing aws-cli orb is required for authentication - aws-cli: circleci/aws-cli@4.0 + aws-cli: circleci/aws-cli@5.1 jobs: build-test-then-push-with-buildx: machine: diff --git a/src/examples/simple_build_and_push.yml b/src/examples/simple_build_and_push.yml index 15b2f79..71f1904 100644 --- a/src/examples/simple_build_and_push.yml +++ b/src/examples/simple_build_and_push.yml @@ -8,7 +8,7 @@ usage: orbs: aws-ecr: circleci/aws-ecr@9.0 # Importing aws-cli orb is required - aws-cli: circleci/aws-cli@4.0 + aws-cli: circleci/aws-cli@5.1 executors: base: @@ -23,7 +23,7 @@ usage: auth: # Add authentication step with OIDC using aws-cli/setup command - aws-cli/setup: - profile: "OIDC-USER" + profile_name: "OIDC-USER" role_arn: "arn:aws:iam::123456789012:role/VALID_OIDC_ECR_ROLE" # Must use same profile configured in aws-cli/setup command