Skip to content

Commit

Permalink
add dockerhub auth for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Nov 28, 2020
1 parent 6ec31b1 commit 0c73f22
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local PipelineTest = {
kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'test',
platform: {
os: 'linux',
Expand Down Expand Up @@ -85,6 +86,7 @@ local PipelineTest = {

local PipelineBuildBinaries = {
kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'build-binaries',
platform: {
os: 'linux',
Expand Down Expand Up @@ -153,6 +155,7 @@ local PipelineBuildBinaries = {

local PipelineNotifications = {
kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'notifications',
platform: {
os: 'linux',
Expand Down
11 changes: 10 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ volumes:
- name: gopath
temp: {}

image_pull_secrets:
- docker_config

trigger:
ref:
- refs/heads/master
Expand Down Expand Up @@ -105,6 +108,9 @@ steps:
ref:
- refs/tags/**

image_pull_secrets:
- docker_config

trigger:
ref:
- refs/heads/master
Expand Down Expand Up @@ -140,6 +146,9 @@ steps:
- success
- failure

image_pull_secrets:
- docker_config

trigger:
ref:
- refs/heads/master
Expand All @@ -153,6 +162,6 @@ depends_on:

---
kind: signature
hmac: 863651dc0ce1a9591377f87fdfa917ef9926743c2dc5cc5e7fa1256d30af1909
hmac: 4e6b6ec60c6a01f20ded56de08f051f1e7baaf74dda8c649d839d5a8053a999e

...

0 comments on commit 0c73f22

Please sign in to comment.