mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-14 06:40:39 +00:00
add dockerhub auth for ci
This commit is contained in:
parent
d2d3dcfa16
commit
efc62a1c5b
@ -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 PipelineDocs = {
|
||||
kind: 'pipeline',
|
||||
image_pull_secrets: ['docker_config'],
|
||||
name: 'docs',
|
||||
platform: {
|
||||
os: 'linux',
|
||||
@ -280,6 +285,7 @@ local PipelineDocs = {
|
||||
|
||||
local PipelineNotifications = {
|
||||
kind: 'pipeline',
|
||||
image_pull_secrets: ['docker_config'],
|
||||
name: 'notifications',
|
||||
platform: {
|
||||
os: 'linux',
|
||||
|
20
.drone.yml
20
.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-pytest
|
||||
- python38-pytest
|
||||
|
||||
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
|
||||
@ -278,6 +290,9 @@ steps:
|
||||
- refs/heads/master
|
||||
- refs/tags/**
|
||||
|
||||
image_pull_secrets:
|
||||
- docker_config
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
@ -313,6 +328,9 @@ steps:
|
||||
- success
|
||||
- failure
|
||||
|
||||
image_pull_secrets:
|
||||
- docker_config
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
@ -326,6 +344,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 8eb3fca00d4d0a5ffc49ef56daa25334021a038636aa5e4c44962f70dbb9a7db
|
||||
hmac: 36e94ce280e52e18c290f7ee728d68f2353570df5e5327f649668af22f0005ea
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user