Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

add arm pipeline #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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