From 9fc2a654645a9debc488152ca7c912891a77b796 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 30 May 2020 23:18:41 +0300 Subject: [PATCH] Add secrets for docker hub credentials --- docker-compose.yml | 4 ++++ jenkins/secrets/dockerhubPassword | 1 + jenkins/secrets/dockerhubUsername | 1 + 3 files changed, 6 insertions(+) create mode 100644 jenkins/secrets/dockerhubPassword create mode 100644 jenkins/secrets/dockerhubUsername diff --git a/docker-compose.yml b/docker-compose.yml index 2bf4264..5049028 100644 --- a/docker-compose.yml +++ b/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: diff --git a/jenkins/secrets/dockerhubPassword b/jenkins/secrets/dockerhubPassword new file mode 100644 index 0000000..7aa311a --- /dev/null +++ b/jenkins/secrets/dockerhubPassword @@ -0,0 +1 @@ +password \ No newline at end of file diff --git a/jenkins/secrets/dockerhubUsername b/jenkins/secrets/dockerhubUsername new file mode 100644 index 0000000..22947b6 --- /dev/null +++ b/jenkins/secrets/dockerhubUsername @@ -0,0 +1 @@ +username \ No newline at end of file