I have the following ci description
version: 2.1
orbs:
aws-ecr: circleci/aws-ecr@0.0.2
executors:
node-executor:
docker:
- image: circleci/node:8-browsers
jobs:
build:
docker:
- image: circleci/node:8-browsers
steps:
- checkout # special step to check out source code to working directory
- run:
name: update-npm
command: 'sudo npm install -g npm@latest'
- restore_cache: # special step to restore the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-npm-wee
command: npm install
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: test
command: npm run test
- run:
name: build
command: npm run build
workflows:
version: 2
build-and-deploy:
jobs:
- build
- aws-ecr/build_and_push_image:
requires:
- build
filters:
branches:
only:
- master
account-url: "${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com"
repo: "${AWS_ECR_REPO}"
region: ${AWS_DEFAULT_REGION}
tag: "${CIRCLE_SHA1}"
Locally circleci cli says it’s valid when running circleci config validate
However, on the UI/Workflow it says NEEDS SETUP master / config-errors and, nothing else which is really frustrating.