CI
This commit is contained in:
parent
452e3fa2e4
commit
5dd1c608f3
1 changed files with 6 additions and 6 deletions
12
.drone.yml
12
.drone.yml
|
@ -11,13 +11,13 @@ image_pull_secrets:
|
|||
- dockerconfig
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build-linux-arm
|
||||
image: jcr.joco.dk/dockerhub/library/golang:latest
|
||||
commands:
|
||||
- 'go mod vendor'
|
||||
- 'GOPATH=/drone/src/_build GOOS=linux GOARCH=arm GOARM=6 go install ./...'
|
||||
|
||||
- name: deb-arm
|
||||
- name: deb-linux-arm
|
||||
image: jcr.joco.dk/joco/builder:bullseye
|
||||
pull: always
|
||||
commands:
|
||||
|
@ -27,7 +27,7 @@ steps:
|
|||
- 'sed -i "s/1.0.0/1.0.0-$DRONE_BUILD_NUMBER/" _build/bullseye/fermentord/debian/changelog'
|
||||
- 'cd _build/bullseye/fermentord && dpkg-buildpackage -b'
|
||||
|
||||
- name: push-bullseye
|
||||
- name: push-linux-arm
|
||||
image: jcr.joco.dk/joco/drone-plugin-aptly:latest
|
||||
settings:
|
||||
source: /drone/src/_build/bullseye
|
||||
|
@ -39,8 +39,8 @@ steps:
|
|||
gpg_passphrase:
|
||||
from_secret: aptly_gpg_passphrase
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
branch:
|
||||
include: master
|
||||
|
||||
- name: slack
|
||||
image: jcr.joco.dk/dockerhub/plugins/slack
|
||||
|
@ -50,6 +50,6 @@ steps:
|
|||
username: Drone
|
||||
---
|
||||
kind: signature
|
||||
hmac: 2130ef83c87f8748aaca9786eed236469a0a0751582c5bd2f40d81e922dea8fc
|
||||
hmac: e8909ac88dde3b09486cf7268624fd68c62ff11616a1e7ba5040cdfc6fca7d2c
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue