mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
added template
This commit is contained in:
parent
74166e6467
commit
c855f33d35
1 changed files with 4 additions and 28 deletions
32
.drone.yml
32
.drone.yml
|
@ -1,31 +1,7 @@
|
|||
kind: pipeline
|
||||
name: build
|
||||
type: docker
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
environment:
|
||||
kind: template
|
||||
load: registry.yaml
|
||||
data:
|
||||
registry:
|
||||
from_secret: global_docker_registry
|
||||
dockerfile: docker/www/Dockerfile
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
when:
|
||||
branch:
|
||||
- develop
|
||||
settings:
|
||||
dockerfile: docker/www/Dockerfile
|
||||
tag:
|
||||
- ${DRONE_BRANCH}
|
||||
custom_labels:
|
||||
commit: ${DRONE_COMMIT_SHA}
|
||||
username:
|
||||
from_secret: global_docker_login
|
||||
password:
|
||||
from_secret: global_docker_password
|
||||
registry:
|
||||
from_secret: global_docker_registry
|
||||
repo: "${registry}/${DRONE_REPO_NAME}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue