explicitly target linux amd64

This commit is contained in:
Joachim Hill-Grannec
2022-08-23 09:31:37 -06:00
parent e07eb1399b
commit 98bb4e4ba4
3 changed files with 4 additions and 36 deletions

View File

@@ -2,6 +2,9 @@ kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
- name: test
@@ -16,7 +19,7 @@ steps:
- name: build
image: golang:1.13
commands:
- go build -o build/drone-helm cmd/drone-helm/main.go
- GOOS=linux GOARCH=amd64 go build -o build/drone-helm cmd/drone-helm/main.go
- name: publish_linux_amd64
image: plugins/docker
settings: