From 28feec7766e2f56c3a9a36481c07827ddce8c664 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 27 Nov 2020 14:13:10 +0100 Subject: [PATCH] add dockerhub auth for ci --- .drone.jsonnet | 5 +++++ .drone.yml | 17 ++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 7711cd7..de4276d 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -16,6 +16,7 @@ local PythonVersion(pyversion='2.7') = { local PipelineLint = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'lint', platform: { os: 'linux', @@ -42,6 +43,7 @@ local PipelineLint = { local PipelineTest = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'test', platform: { os: 'linux', @@ -83,6 +85,7 @@ local PipelineTest = { local PipelineSecurity = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'security', platform: { os: 'linux', @@ -112,6 +115,7 @@ local PipelineSecurity = { local PipelineBuildPackage = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'build-package', platform: { os: 'linux', @@ -173,6 +177,7 @@ local PipelineBuildPackage = { local PipelineNotifications = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'notifications', platform: { os: 'linux', diff --git a/.drone.yml b/.drone.yml index 1df8d4a..0a856b2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,6 +16,9 @@ steps: environment: PY_COLORS: 1 +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -102,6 +105,9 @@ steps: - python37 - python38 +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -129,6 +135,9 @@ steps: environment: PY_COLORS: 1 +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -187,6 +196,9 @@ steps: ref: - refs/tags/** +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -222,6 +234,9 @@ steps: - success - failure +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -235,6 +250,6 @@ depends_on: --- kind: signature -hmac: 09f1f5c2f46dd90b159b5c5de705afce849ea7fb4772b96aa9827a6d6bb97e3e +hmac: d107c344afb445a597ceee39eeb6ec40de5e7975391e23acd7c2b16d6c006025 ...