2020-02-12 16:04:29 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: linux-amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
arch: amd64
|
|
|
|
os: linux
|
|
|
|
|
|
|
|
steps:
|
2020-02-13 22:47:33 +00:00
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- go get
|
|
|
|
- go build
|
|
|
|
|
2020-02-12 16:39:00 +00:00
|
|
|
- name: publish
|
2020-02-12 16:04:29 +00:00
|
|
|
image: plugins/docker:18
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
dockerfile: Dockerfile
|
2020-02-12 16:55:47 +00:00
|
|
|
repo: imartyn/karaokardbot
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
2020-02-12 17:03:32 +00:00
|
|
|
from_secret: docker_password
|
2020-02-12 16:04:29 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|