This commit is contained in:
Søren Rasmussen 2022-07-23 17:33:17 +02:00
parent 452e3fa2e4
commit 5dd1c608f3

View file

@ -11,13 +11,13 @@ image_pull_secrets:
- dockerconfig - dockerconfig
steps: steps:
- name: build - name: build-linux-arm
image: jcr.joco.dk/dockerhub/library/golang:latest image: jcr.joco.dk/dockerhub/library/golang:latest
commands: commands:
- 'go mod vendor' - 'go mod vendor'
- 'GOPATH=/drone/src/_build GOOS=linux GOARCH=arm GOARM=6 go install ./...' - '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 image: jcr.joco.dk/joco/builder:bullseye
pull: always pull: always
commands: commands:
@ -27,7 +27,7 @@ steps:
- 'sed -i "s/1.0.0/1.0.0-$DRONE_BUILD_NUMBER/" _build/bullseye/fermentord/debian/changelog' - 'sed -i "s/1.0.0/1.0.0-$DRONE_BUILD_NUMBER/" _build/bullseye/fermentord/debian/changelog'
- 'cd _build/bullseye/fermentord && dpkg-buildpackage -b' - 'cd _build/bullseye/fermentord && dpkg-buildpackage -b'
- name: push-bullseye - name: push-linux-arm
image: jcr.joco.dk/joco/drone-plugin-aptly:latest image: jcr.joco.dk/joco/drone-plugin-aptly:latest
settings: settings:
source: /drone/src/_build/bullseye source: /drone/src/_build/bullseye
@ -39,8 +39,8 @@ steps:
gpg_passphrase: gpg_passphrase:
from_secret: aptly_gpg_passphrase from_secret: aptly_gpg_passphrase
when: when:
branch: master branch:
event: push include: master
- name: slack - name: slack
image: jcr.joco.dk/dockerhub/plugins/slack image: jcr.joco.dk/dockerhub/plugins/slack
@ -50,6 +50,6 @@ steps:
username: Drone username: Drone
--- ---
kind: signature kind: signature
hmac: 2130ef83c87f8748aaca9786eed236469a0a0751582c5bd2f40d81e922dea8fc hmac: e8909ac88dde3b09486cf7268624fd68c62ff11616a1e7ba5040cdfc6fca7d2c
... ...