Browse Source

Add secrets for docker hub credentials

master
Apostolos Fanakis 5 years ago
parent
commit
9fc2a65464
  1. 4
      docker-compose.yml
  2. 1
      jenkins/secrets/dockerhubPassword
  3. 1
      jenkins/secrets/dockerhubUsername

4
docker-compose.yml

@ -91,5 +91,9 @@ secrets:
file: ./jenkins/secrets/adminUsername
jenkins_admin_password:
file: ./jenkins/secrets/adminPass
jenkins_dockerhub_username:
file: ./jenkins/secrets/dockerhubUsername
jenkins_dockerhub_password:
file: ./jenkins/secrets/dockerhubPassword
volumes:
jenkins-data:

1
jenkins/secrets/dockerhubPassword

@ -0,0 +1 @@
password

1
jenkins/secrets/dockerhubUsername

@ -0,0 +1 @@
username
Loading…
Cancel
Save