Skip to content

Commit

Permalink
Merge pull request #1197 from greenpeace/planet-5557
Browse files Browse the repository at this point in the history
PLANET-5557 Add Auth creds for all Docker Hub images
  • Loading branch information
comzeradd authored Oct 9, 2020
2 parents 8193dfc + de8f59c commit 59edbff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ job-references:
mysql_image: &mysql_image
circleci/mysql:5.7

docker_auth: &docker_auth
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD

setup_environment: &setup_environment
name: "Setup Environment Variables"
command: |
Expand Down Expand Up @@ -72,6 +76,7 @@ job-references:
p4_instance_conf: &p4_instance_conf
docker:
- image: greenpeaceinternational/p4-builder:latest
auth: &docker_auth
working_directory: /home/circleci/
environment:
APP_HOSTNAME: www.planet4.test
Expand Down Expand Up @@ -141,13 +146,17 @@ jobs:
<<: *php_job
docker:
- image: greenpeaceinternational/p4-unit-tests:php7.2-develop
auth: &docker_auth
- image: *mysql_image
auth: &docker_auth

php73-tests:
<<: *php_job
docker:
- image: greenpeaceinternational/p4-unit-tests:php7.3-develop
auth: &docker_auth
- image: *mysql_image
auth: &docker_auth

acceptance-tests:
<<: *p4_instance_conf
Expand Down Expand Up @@ -188,6 +197,7 @@ jobs:
create-release-zip:
docker:
- image: mhart/alpine-node
auth: &docker_auth
steps:
- run: apk add curl zip git openssh-client jq python make g++
- checkout
Expand Down

0 comments on commit 59edbff

Please sign in to comment.