mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added registry global env
This commit is contained in:
parent
e265a01ebc
commit
a828d509e5
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,10 @@ platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
|
environment:
|
||||||
|
REGISTRY:
|
||||||
|
from_secret: global_docker_registry
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -24,4 +28,4 @@ steps:
|
||||||
from_secret: global_docker_password
|
from_secret: global_docker_password
|
||||||
registry:
|
registry:
|
||||||
from_secret: global_docker_registry
|
from_secret: global_docker_registry
|
||||||
repo: ${global_docker_registry}/${DRONE_REPO_NAME}
|
repo: ${REGISTRY}/${DRONE_REPO_NAME}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue