From f2a8c972b5244ca1ede5409696b595308db52fa7 Mon Sep 17 00:00:00 2001 From: Alex Voigt <> Date: Sun, 31 May 2020 09:01:06 +0200 Subject: [PATCH] add arm pipeline --- .drone.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/.drone.yml b/.drone.yml index 70a0bb0..480cdfc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -73,3 +73,64 @@ steps: - tag ... +--- +kind: pipeline +name: default-arm + +platform: + os: linux + arch: arm + +workspace: + base: /go + path: src/github.com/metalmatze/alertmanager-bot + +steps: +- name: build + pull: always + image: golang:1.13-alpine + environment: + GO111MODULE: on + GOPROXY: https://proxy.golang.org + commands: + - apk add -U git make + - make build + - make fmt + - make vet + - make lint + - make test + when: + event: + - push + - tag + - pull_request + +- name: release + pull: default + image: golang:1.13-alpine + environment: + GO111MODULE: on + GOPROXY: https://proxy.golang.org + commands: + - apk add -U git make + - make release + when: + event: + - tag + +- name: docker + image: plugins/docker + pull: always + settings: + username: + from_secret: docker_username + password: + from_secret: docker_password + repo: metalmatze/alertmanager-bot + tag: + - latest + - 0.4 + - 0.4.2 + when: + event: + - tag \ No newline at end of file