2020-02-27 15:11:23 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: build and upload
|
2020-02-27 15:14:34 +01:00
|
|
|
image: golang:1.14.0-alpine3.11
|
2020-02-27 15:11:23 +01:00
|
|
|
pull: always
|
|
|
|
environment:
|
|
|
|
FTP_PASS:
|
|
|
|
from_secret: ftp_pass
|
|
|
|
commands:
|
|
|
|
- apk add --no-cache make
|
|
|
|
- make install_deps
|
2020-02-27 15:19:57 +01:00
|
|
|
- make build
|
2020-02-27 15:11:23 +01:00
|
|
|
- make ftp_upload
|
2020-03-05 09:25:01 +01:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|