From 0c73f2258c1f3e119868222445452e8f880d7dea Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 28 Nov 2020 13:49:44 +0100 Subject: [PATCH] add dockerhub auth for ci --- .drone.jsonnet | 3 +++ .drone.yml | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 332022c..9698e71 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,5 +1,6 @@ local PipelineTest = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'test', platform: { os: 'linux', @@ -85,6 +86,7 @@ local PipelineTest = { local PipelineBuildBinaries = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'build-binaries', platform: { os: 'linux', @@ -153,6 +155,7 @@ local PipelineBuildBinaries = { local PipelineNotifications = { kind: 'pipeline', + image_pull_secrets: ['docker_config'], name: 'notifications', platform: { os: 'linux', diff --git a/.drone.yml b/.drone.yml index 4d6f52c..0986f53 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,6 +51,9 @@ volumes: - name: gopath temp: {} +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -105,6 +108,9 @@ steps: ref: - refs/tags/** +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -140,6 +146,9 @@ steps: - success - failure +image_pull_secrets: +- docker_config + trigger: ref: - refs/heads/master @@ -153,6 +162,6 @@ depends_on: --- kind: signature -hmac: 863651dc0ce1a9591377f87fdfa917ef9926743c2dc5cc5e7fa1256d30af1909 +hmac: 4e6b6ec60c6a01f20ded56de08f051f1e7baaf74dda8c649d839d5a8053a999e ...