Updated ci with new kubernetes secrets 🚀🚀🚀
continuous-integration/drone/push Build is passing Details

ref odit/org#12
This commit is contained in:
Nicolai Ort 2021-03-12 19:05:31 +01:00
parent f5d836e77b
commit b3d6244d30
1 changed files with 25 additions and 4 deletions

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
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