chldapasswd/.drone.yml
Pierre-Olivier Mercier 6fddff0b9c
All checks were successful
continuous-integration/drone/push Build is passing
ci: Add triggers to avoid pull
2024-05-24 10:40:20 +02:00

37 lines
616 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
steps:
- name: build
image: golang:1
commands:
- apt-get update && apt-get install -y build-essential git go-bindata
- go generate -v
- go get -v -d
- go build -v -ldflags="-s -w" -o chldapasswd
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: nemunaire/chldapasswd
tags: latest
when:
branch:
- master
trigger:
event:
- cron
- push
- tag