Build operator-sdk in amd64

This commit is contained in:
Ettore Di Giacinto
2022-10-08 00:32:58 +02:00
committed by GitHub
parent 40d0a33fb3
commit 90b4573442

View File

@@ -1,3 +1,5 @@
# This is only for amd64
{{ if eq .Values.arch "" }}
requires: requires:
- name: "toolchain-go" - name: "toolchain-go"
category: "development" category: "development"
@@ -12,4 +14,5 @@ env:
steps: steps:
- cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && make build && mv build/* /usr/bin/ - cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && make build && mv build/* /usr/bin/
includes: includes:
- usr/bin/.*|usr/bin - usr/bin/.*|usr/bin
{{ end }}