mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -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
|
||||
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\/.*/
|
||||
|
|
Loading…
Reference in a new issue