1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00
vault-frontend/.drone.yml
2021-09-30 11:27:46 +07:00

31 lines
605 B
YAML

kind: pipeline
name: build
type: docker
platform:
os: linux
arch: amd64
environment:
registry:
from_secret: global_docker_registry
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}"