Skip to content

Commit

Permalink
Add docker auth creds to image pulls
Browse files Browse the repository at this point in the history
  • Loading branch information
mitagg committed Oct 15, 2020
1 parent df31ea6 commit 99f1c4a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/executors/default-with-elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ parameters:
default: "5.3"
docker:
- image: golang:<<parameters.golang-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
- image: elasticsearch:<<parameters.elasticsearch-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
6 changes: 6 additions & 0 deletions src/executors/default-with-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ parameters:
default: "testdb"
docker:
- image: golang:<<parameters.golang-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
environment:
DB_TEST_URL: <<parameters.db-test-url>>
- image: mysql:<<parameters.mysql-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
command: [mysqld, --max-connections=45]
environment:
MYSQL_ROOT_PASSWORD: <<parameters.mysql-root-password>>
Expand Down
6 changes: 6 additions & 0 deletions src/executors/default-with-neo4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ parameters:
default: "3.4.10-enterprise"
docker:
- image: golang:<<parameters.golang-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
- image: neo4j:<<parameters.neo4j-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
environment:
NEO4J_AUTH: none
NEO4J_HEAP_MEMORY: 256
Expand Down
3 changes: 3 additions & 0 deletions src/executors/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ parameters:
default: "1"
docker:
- image: golang:<<parameters.golang-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
3 changes: 3 additions & 0 deletions src/executors/scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ parameters:
default: "1.13"
docker:
- image: circleci/golang:<<parameters.circleci-golang-image-version>>
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN

0 comments on commit 99f1c4a

Please sign in to comment.