generated from tyler/Generic-Template
Add drone.yml
This commit is contained in:
parent
7516256ab9
commit
47da01ba9d
29
.drone.yml
29
.drone.yml
@ -1,13 +1,24 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: build-and-release
|
name: build-container
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build-and-push
|
||||||
image: alpine
|
image: plugins/docker
|
||||||
commands:
|
settings:
|
||||||
- echo "Build your code!"
|
repo: git.clortox.com/Infrastructure/filebrowser
|
||||||
- name: release
|
registry: git.clortox.com
|
||||||
image: alpine
|
username:
|
||||||
commands:
|
from_secret: docker_username
|
||||||
- echo "Release your code!"
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${DRONE_TAG}
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
Loading…
Reference in New Issue
Block a user