Updated ci with new kubernetes secrets 🚀🚀🚀
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
ref odit/org#12
This commit is contained in:
parent
f5d836e77b
commit
b3d6244d30
29
.drone.yml
29
.drone.yml
|
@ -1,6 +1,27 @@
|
|||
---
|
||||
kind: secret
|
||||
name: docker_username
|
||||
get:
|
||||
path: odit-registry-builder
|
||||
name: username
|
||||
|
||||
---
|
||||
kind: secret
|
||||
name: docker_password
|
||||
get:
|
||||
path: odit-registry-builder
|
||||
name: password
|
||||
|
||||
---
|
||||
kind: secret
|
||||
name: git_ssh
|
||||
get:
|
||||
path: odit-git-bot
|
||||
name: sshkey
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
type: kubernetes
|
||||
name: build:latest
|
||||
steps:
|
||||
- name: run full license export
|
||||
|
@ -19,15 +40,15 @@ steps:
|
|||
author_email: bot@odit.services
|
||||
remote: git@git.odit.services:lfk/docs.git
|
||||
ssh_key:
|
||||
from_secret: GITLAB_SSHKEY
|
||||
from_secret: git_ssh
|
||||
- name: build latest
|
||||
image: plugins/docker
|
||||
depends_on: [clone]
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_REGISTRY_USER
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: DOCKER_REGISTRY_PASSWORD
|
||||
from_secret: docker_password
|
||||
repo: registry.odit.services/lfk/docs
|
||||
tags:
|
||||
- latest
|
||||
|
|
Loading…
Reference in New Issue