Hi! we’re having a hard time upgrading our orb aws-ecr from v8 to v9, is anyone aware of a simple migration guide? There’s definitely more than just renaming some jobs and properties.
The best we could do still ended with Unable to locate credentials. You can configure credentials by running "aws configure". / Error: Cannot perform an interactive login from a non TTY device
We use this simple job configuration right now which works for v8:
orbs:
aws-ecr: circleci/aws-ecr@8.2.1
...
jobs:
build-and-push:
executor:
name: aws-ecr/default
use-docker-layer-caching: false
parameters:
...
steps:
- aws-ecr/build-and-push-image:
attach-workspace: true
dockerfile: << parameters.dockerfile >>
aws-access-key-id: ECR_AWS_ACCESS_KEY_ID
aws-secret-access-key: ECR_AWS_SECRET_ACCESS_KEY
profile-name: myProfileName
region: '${ECR_AWS_REGION}'
repo: '<< parameters.repo >>'
tag: '<< parameters.tag >>'
extra-build-args: '--build-arg NPM_TOKEN --build-arg DD_VERSION="<< pipeline.git.revision >>"'
Thanks to anyone who can help