2020-07-14 18:56:20 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: linux-amd64-taggedver
|
|
|
|
|
|
|
|
platform:
|
|
|
|
arch: amd64
|
|
|
|
os: linux
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- pwd
|
|
|
|
- mkdir -p /go/src/git.martyn.berlin/martyn
|
|
|
|
- ln -s /drone/src /go/src/git.martyn.berlin/martyn/twitchsingstools
|
|
|
|
- cd /go/src/git.martyn.berlin/martyn/twitchsingstools
|
2020-07-16 10:36:22 +00:00
|
|
|
- make deps
|
2020-07-15 19:19:06 +00:00
|
|
|
- make test
|
|
|
|
- make
|
2020-07-14 18:56:20 +00:00
|
|
|
|
|
|
|
- name: publish
|
|
|
|
image: plugins/docker:18
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
dockerfile: build/package/Dockerfile
|
2020-07-14 19:26:26 +00:00
|
|
|
repo: imartyn/twitchsingstools
|
2020-07-14 18:56:20 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
ref:
|
|
|
|
- refs/tags/v*
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2020-07-14 19:10:10 +00:00
|
|
|
name: linux-amd64-devel-main
|
2020-07-14 18:56:20 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
arch: amd64
|
|
|
|
os: linux
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- pwd
|
|
|
|
- mkdir -p /go/src/git.martyn.berlin/martyn
|
|
|
|
- ln -s /drone/src /go/src/git.martyn.berlin/martyn/twitchsingstools
|
|
|
|
- cd /go/src/git.martyn.berlin/martyn/twitchsingstools
|
2020-07-16 10:36:22 +00:00
|
|
|
- make deps
|
2020-07-15 19:19:06 +00:00
|
|
|
- make test
|
|
|
|
- make
|
2020-07-14 18:56:20 +00:00
|
|
|
|
2020-08-01 09:38:05 +00:00
|
|
|
- name: build-frontend
|
|
|
|
image: node
|
|
|
|
commands:
|
2020-08-01 09:42:33 +00:00
|
|
|
- make build-frontend
|
2020-08-01 09:38:05 +00:00
|
|
|
|
2020-07-14 18:56:20 +00:00
|
|
|
trigger:
|
|
|
|
ref:
|
2020-07-14 19:10:10 +00:00
|
|
|
- refs/heads/main
|