1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

added registry global env

This commit is contained in:
Fedor Katurov 2021-09-30 11:21:21 +07:00
parent e265a01ebc
commit a828d509e5

View file

@ -6,6 +6,10 @@ platform:
os: linux
arch: amd64
environment:
REGISTRY:
from_secret: global_docker_registry
steps:
- name: build
image: plugins/docker
@ -24,4 +28,4 @@ steps:
from_secret: global_docker_password
registry:
from_secret: global_docker_registry
repo: ${global_docker_registry}/${DRONE_REPO_NAME}
repo: ${REGISTRY}/${DRONE_REPO_NAME}