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 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