CircleCI use our dockerhub credentials context

This commit is contained in:
BryceLTaylor 2022-03-29 13:36:11 -04:00
parent f2a70981fb
commit 5cffcc3c1b

View file

@ -3,6 +3,9 @@ aliases:
- &defaults
docker:
- image: cimg/node:12.22.11-browsers
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD
working_directory: ~/repo
environment:
NODE_ENV: production
@ -41,9 +44,11 @@ workflows:
build-test-no-deploy:
jobs:
- build-test:
filters:
branches:
ignore:
- master
- develop
- /^hotfix\/.*/
context:
- dockerhub-credentials
filters:
branches:
ignore:
- master
- develop
- /^hotfix\/.*/