Add secrets
This commit is contained in:
parent
f3a919e24f
commit
4f55bf03b6
@ -21,6 +21,13 @@ steps:
|
|||||||
- ssh-keyscan github.com > /root/.ssh/known_hosts
|
- ssh-keyscan github.com > /root/.ssh/known_hosts
|
||||||
- ssh-keyscan git.c0ntroller.de >> /root/.ssh/known_hosts
|
- ssh-keyscan git.c0ntroller.de >> /root/.ssh/known_hosts
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
- name: secrets
|
||||||
|
image: alpine
|
||||||
|
environment:
|
||||||
|
SECRETS_JSON:
|
||||||
|
from_secret: secrets_json
|
||||||
|
commands:
|
||||||
|
- echo "$${SECRETS_JSON}" > secrets.json
|
||||||
- name: build-image
|
- name: build-image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user