mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-10 14:42:13 -05:00
CircleCI use our dockerhub credentials context
This commit is contained in:
parent
f2a70981fb
commit
5cffcc3c1b
1 changed files with 11 additions and 6 deletions
|
@ -3,6 +3,9 @@ aliases:
|
||||||
- &defaults
|
- &defaults
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/node:12.22.11-browsers
|
- image: cimg/node:12.22.11-browsers
|
||||||
|
auth:
|
||||||
|
username: $DOCKERHUB_USERNAME
|
||||||
|
password: $DOCKERHUB_PASSWORD
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
|
@ -41,9 +44,11 @@ workflows:
|
||||||
build-test-no-deploy:
|
build-test-no-deploy:
|
||||||
jobs:
|
jobs:
|
||||||
- build-test:
|
- build-test:
|
||||||
filters:
|
context:
|
||||||
branches:
|
- dockerhub-credentials
|
||||||
ignore:
|
filters:
|
||||||
- master
|
branches:
|
||||||
- develop
|
ignore:
|
||||||
- /^hotfix\/.*/
|
- master
|
||||||
|
- develop
|
||||||
|
- /^hotfix\/.*/
|
||||||
|
|
Loading…
Reference in a new issue