Skip to content

Commit

Permalink
Merge pull request #41 from dennybiasiolli/circleci-docker-auth
Browse files Browse the repository at this point in the history
using context docker-credentials for docker pull
  • Loading branch information
dennybiasiolli committed Oct 6, 2020
2 parents ee5df4a + 63689fa commit ce80b0d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .circleci/config.yml
Expand Up @@ -2,12 +2,23 @@
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
version: 2.1

workflows:
workflow:
jobs:
- build:
context:
- docker-credentials

jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand Down

0 comments on commit ce80b0d

Please sign in to comment.