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 dcc011c69e
All checks were successful
continuous-integration/drone/push Build is passing
Use linux-arm image
2023-05-02 11:19:29 +02:00

29 lines
523 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:linux-arm
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: nemunaire/chunkvalidator
tags: latest
when:
branch:
- master