Files
chldapasswd/.drone.yml
Alexandre Chazal 6b2fb23902
All checks were successful
continuous-integration/drone Build is passing
feat(drone): image is now built for amd64 and pushes to registry.alxczl.fr
2021-11-28 20:50:38 +01:00

32 lines
603 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
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
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.alxczl.fr/chldapasswd
registry: registry.alxczl.fr
tags: latest
when:
branch:
- master