Updated ci with new kubernetes secrets 🚀🚀🚀
All checks were successful
continuous-integration/drone/push Build is passing

ref odit/org#12
This commit is contained in:
Nicolai Ort 2021-03-12 19:05:31 +01:00
parent f5d836e77b
commit b3d6244d30

View File

@ -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 kind: pipeline
type: docker type: kubernetes
name: build:latest name: build:latest
steps: steps:
- name: run full license export - name: run full license export
@ -19,15 +40,15 @@ steps:
author_email: bot@odit.services author_email: bot@odit.services
remote: git@git.odit.services:lfk/docs.git remote: git@git.odit.services:lfk/docs.git
ssh_key: ssh_key:
from_secret: GITLAB_SSHKEY from_secret: git_ssh
- name: build latest - name: build latest
image: plugins/docker image: plugins/docker
depends_on: [clone] depends_on: [clone]
settings: settings:
username: username:
from_secret: DOCKER_REGISTRY_USER from_secret: docker_username
password: password:
from_secret: DOCKER_REGISTRY_PASSWORD from_secret: docker_password
repo: registry.odit.services/lfk/docs repo: registry.odit.services/lfk/docs
tags: tags:
- latest - latest