Add drone.yml

This commit is contained in:
Tyler Perkins 2023-12-18 18:23:30 -05:00
parent 7516256ab9
commit 47da01ba9d
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -1,13 +1,24 @@
kind: pipeline
type: docker
name: build-and-release
name: build-container
steps:
- name: build
image: alpine
commands:
- echo "Build your code!"
- name: release
image: alpine
commands:
- echo "Release your code!"
- name: build-and-push
image: plugins/docker
settings:
repo: git.clortox.com/Infrastructure/filebrowser
registry: git.clortox.com
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
- ${DRONE_TAG}
when:
event:
- tag
trigger:
event:
- tag