From 2e47aa3f71d8c7bd360c32fd2442a3ff1dcc90c3 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 8 Apr 2020 01:36:52 +0200 Subject: [PATCH] updated .drone.yml --- .drone.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 55 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index e53814a..b85433f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,6 @@ kind: pipeline type: docker name: default-linux-amd64 -platform: - arch: amd64 - os: linux - steps: - name: build image: golang @@ -22,5 +18,60 @@ steps: api_key: from_secret: gitea_token files: dist/*.tar.gz + checksum: + - sha256 + - sha512 + when: + event: tag + +--- +kind: pipeline +type: docker +name: default-linux-arm64 + +steps: + - name: build + image: golang + commands: + - ./ci-build.sh + environment: + GOOS: linux + GOARCH: arm64 + - name: release + image: plugins/gitea-release + settings: + base_url: https://git.paulbsd.com + api_key: + from_secret: gitea_token + files: dist/*.tar.gz + checksum: + - sha256 + - sha512 + when: + event: tag + +--- +kind: pipeline +type: docker +name: default-netbsd-amd64 + +steps: + - name: build + image: golang + commands: + - ./ci-build.sh + environment: + GOOS: netbsd + GOARCH: amd64 + - name: release + image: plugins/gitea-release + settings: + base_url: https://git.paulbsd.com + api_key: + from_secret: gitea_token + files: dist/*.tar.gz + checksum: + - sha256 + - sha512 when: event: tag