Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
9885585516 |
1 changed files with 0 additions and 41 deletions
41
.drone.yml
41
.drone.yml
|
@ -1,41 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
||||
steps:
|
||||
- name: go get
|
||||
image: golang
|
||||
commands:
|
||||
- go get
|
||||
- mkdir dist
|
||||
- name: Building for Linux
|
||||
image: golang
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- go build -v -o dist/machinelock-manager-linux-amd64
|
||||
- name: gitea release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: token
|
||||
base_url: https://git.ctdo.de
|
||||
files: dist/*
|
||||
checksum:
|
||||
- md5
|
||||
- sha1
|
||||
- sha256
|
||||
- name: build docker image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: ctdo
|
||||
password:
|
||||
from_secret: dockerhub_password
|
||||
repo: ctdo/machinelock-manager
|
||||
tags: latest
|
||||
|
Loading…
Add table
Reference in a new issue