This repository has been archived on 2024-03-28. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
chunkvalidator/.drone.yml
Pierre-Olivier Mercier ae136f28e0
All checks were successful
continuous-integration/drone/push Build is passing
Make go binaries lighter
2022-02-20 17:03:49 +01:00

29 lines
513 B
YAML

---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm
steps:
- name: build
image: golang:alpine
commands:
- apk add --no-cache build-base
- go vet
- go build -v -ldflags="-s -w" -o chunkvalidator
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: nemunaire/chunkvalidator
tags: latest
when:
branch:
- master