chldapasswd/.drone.yml

31 lines
559 B
YAML
Raw Normal View History

2020-09-02 13:25:44 +00:00
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
steps:
- name: build
image: golang:latest
commands:
- apt-get update && apt-get install -y build-essential git go-bindata
- go generate -v
- go get -v -d
- go build -v -o chldapasswd
2020-09-02 15:23:40 +00:00
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: nemunaire/chldapasswd
tags: latest
when:
branch:
- master