Updated CI
This commit is contained in:
parent
4ac5a78203
commit
0ac39a071f
1 changed files with 0 additions and 48 deletions
48
.drone.yml
48
.drone.yml
|
@ -95,21 +95,6 @@ steps:
|
|||
-o linux-amd64
|
||||
.
|
||||
|
||||
- name: Build linux/arm64 (prod)
|
||||
image: golang
|
||||
environment:
|
||||
GOOS: "linux"
|
||||
GOARCH: "amd64"
|
||||
CGO_ENABLED: 0
|
||||
commands:
|
||||
- go get -v -d ./...
|
||||
- go build -a -installsuffix cgo
|
||||
-ldflags="-X $I_PACKAGE.CI_COMMIT_SHORT_SHA=$DRONE_COMMIT_SHA
|
||||
-X $I_PACKAGE.CI_COMMIT_BRANCH=$DRONE_COMMIT_BRANCH
|
||||
-X $I_PACKAGE.CI_COMMIT_TAG=$DRONE_TAG"
|
||||
-o linux-arm64
|
||||
.
|
||||
|
||||
- name: Build windows/amd64 (prod)
|
||||
image: golang
|
||||
environment:
|
||||
|
@ -125,36 +110,6 @@ steps:
|
|||
-o windows-amd64.exe
|
||||
.
|
||||
|
||||
- name: Build darwin/amd64 (prod)
|
||||
image: golang
|
||||
environment:
|
||||
GOOS: "darwin"
|
||||
GOARCH: "amd64"
|
||||
CGO_ENABLED: 0
|
||||
commands:
|
||||
- go get -v -d ./...
|
||||
- go build -a -installsuffix cgo
|
||||
-ldflags="-X $I_PACKAGE.CI_COMMIT_SHORT_SHA=$DRONE_COMMIT_SHA
|
||||
-X $I_PACKAGE.CI_COMMIT_BRANCH=$DRONE_COMMIT_BRANCH
|
||||
-X $I_PACKAGE.CI_COMMIT_TAG=$DRONE_TAG"
|
||||
-o darwin-amd64
|
||||
.
|
||||
|
||||
- name: Build darwin/arm64 (prod)
|
||||
image: golang
|
||||
environment:
|
||||
GOOS: "darwin"
|
||||
GOARCH: "arm64"
|
||||
CGO_ENABLED: 0
|
||||
commands:
|
||||
- go get -v -d ./...
|
||||
- go build -a -installsuffix cgo
|
||||
-ldflags="-X $I_PACKAGE.CI_COMMIT_SHORT_SHA=$DRONE_COMMIT_SHA
|
||||
-X $I_PACKAGE.CI_COMMIT_BRANCH=$DRONE_COMMIT_BRANCH
|
||||
-X $I_PACKAGE.CI_COMMIT_TAG=$DRONE_TAG"
|
||||
-o darwin-arm64
|
||||
.
|
||||
|
||||
- name: Build-latest-tag-docker
|
||||
image: docker:dind
|
||||
volumes:
|
||||
|
@ -187,10 +142,7 @@ steps:
|
|||
base_url: https://gitea.hackmi.ch
|
||||
files:
|
||||
- linux-amd64
|
||||
- linux-arm64
|
||||
- windows-amd64.exe
|
||||
- darwin-amd64
|
||||
- darwin-arm64
|
||||
checksum: md5
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue