Added Dockerfile, deploy settings and pipeline config

This commit is contained in:
2022-03-08 15:19:19 +01:00
parent 0ae8a29bfd
commit 7a28024ccd
7 changed files with 104 additions and 0 deletions

27
.drone.yml Normal file
View File

@@ -0,0 +1,27 @@
kind: pipeline
type: docker
name: linux-amd64
platform:
arch: amd64
os: linux
steps:
- name: generate_tag
image: golang
commands:
- echo -n "${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}, latest" > .tags
- name: publish
image: plugins/docker
settings:
username:
from_secret: username
password:
from_secret: password
registry:
from_secret: registry
repo:
from_secret: repo
dockerfile: Dockerfile