From 5cffcc3c1b8f313540e0e3e69416f1db1a2200f0 Mon Sep 17 00:00:00 2001 From: BryceLTaylor Date: Tue, 29 Mar 2022 13:36:11 -0400 Subject: [PATCH] CircleCI use our dockerhub credentials context --- .circleci/config.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ece25afa..0d2a2961 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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\/.*/