add dockerhub auth for ci
This commit is contained in:
parent
6ec31b1e0d
commit
0c73f2258c
|
@ -1,5 +1,6 @@
|
||||||
local PipelineTest = {
|
local PipelineTest = {
|
||||||
kind: 'pipeline',
|
kind: 'pipeline',
|
||||||
|
image_pull_secrets: ['docker_config'],
|
||||||
name: 'test',
|
name: 'test',
|
||||||
platform: {
|
platform: {
|
||||||
os: 'linux',
|
os: 'linux',
|
||||||
|
@ -85,6 +86,7 @@ local PipelineTest = {
|
||||||
|
|
||||||
local PipelineBuildBinaries = {
|
local PipelineBuildBinaries = {
|
||||||
kind: 'pipeline',
|
kind: 'pipeline',
|
||||||
|
image_pull_secrets: ['docker_config'],
|
||||||
name: 'build-binaries',
|
name: 'build-binaries',
|
||||||
platform: {
|
platform: {
|
||||||
os: 'linux',
|
os: 'linux',
|
||||||
|
@ -153,6 +155,7 @@ local PipelineBuildBinaries = {
|
||||||
|
|
||||||
local PipelineNotifications = {
|
local PipelineNotifications = {
|
||||||
kind: 'pipeline',
|
kind: 'pipeline',
|
||||||
|
image_pull_secrets: ['docker_config'],
|
||||||
name: 'notifications',
|
name: 'notifications',
|
||||||
platform: {
|
platform: {
|
||||||
os: 'linux',
|
os: 'linux',
|
||||||
|
|
11
.drone.yml
11
.drone.yml
|
@ -51,6 +51,9 @@ volumes:
|
||||||
- name: gopath
|
- name: gopath
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- docker_config
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
|
@ -105,6 +108,9 @@ steps:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- docker_config
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
|
@ -140,6 +146,9 @@ steps:
|
||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- docker_config
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
|
@ -153,6 +162,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 863651dc0ce1a9591377f87fdfa917ef9926743c2dc5cc5e7fa1256d30af1909
|
hmac: 4e6b6ec60c6a01f20ded56de08f051f1e7baaf74dda8c649d839d5a8053a999e
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue