ArtifactoryServer is used as our docker registry server and just cant use private images stored there.
here is snippet from the config.yml :
version: 2
jobs:
build:
working_directory: ~/tmmp
docker:
- image: containers.MyCompany.com/My-team/nodejs/amazonlinux:v6.10.2
auth:
username: MyUserName
password: MyPassword
steps:- checkout
- run: npm install
- run: npm test
What am i doing wrong ?? this is the error I see
Build-agent version 0.0.4171-0daf87a (2017-09-13T13:33:08+0000)
Configuration errors: 2 errors occurred:
Error parsing config file: yaml: line 7: mapping values are not allowed in this context
Cannot find a job named build to run in the jobs: section of your configuration file.
This can happen if you have no workflows defined, or a typo in your ‘workflows:’ config.
note that when using
- image: circleci/node:7,
build is properly working …