From 2203493d56897e47943f0066224fb729c6f5caf6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 15 Feb 2021 21:03:27 +0100 Subject: [PATCH] chore: build arm-7 binaries --- .drone.jsonnet | 3 ++- .drone.yml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index dde33dc..0232e58 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -87,8 +87,9 @@ local PipelineBuildBinaries = { commands: [ '[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}', 'mkdir -p release/', - "cd cmd/drone-github-comment && xgo -ldflags \"-s -w -X main.version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out drone-github-comment .", + "cd cmd/drone-github-comment && xgo -ldflags \"-s -w -X main.version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm-7,linux/arm64' -out drone-github-comment .", 'mv /build/* /drone/src/release/', + 'ls -l /drone/src/release/', ], }, { diff --git a/.drone.yml b/.drone.yml index e968b1a..fa5772a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,8 +66,9 @@ steps: commands: - "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}" - mkdir -p release/ - - cd cmd/drone-github-comment && xgo -ldflags "-s -w -X main.version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out drone-github-comment . + - cd cmd/drone-github-comment && xgo -ldflags "-s -w -X main.version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm-7,linux/arm64' -out drone-github-comment . - mv /build/* /drone/src/release/ + - ls -l /drone/src/release/ - name: executable image: alpine @@ -475,6 +476,6 @@ depends_on: --- kind: signature -hmac: ae2c317057edc919a12571358ebe09305828cab50ba6d545dd55b71ed8431988 +hmac: e0af5cf53442daccc9ef1a29e947b4e7ca4bfc59d600f9c6351ac183411cc83f ...