Make it untagged
This commit is contained in:
parent
fb4347eb7e
commit
17536c2312
1 changed files with 7 additions and 7 deletions
14
.drone.yml
14
.drone.yml
|
@ -23,21 +23,17 @@ steps:
|
|||
|
||||
---
|
||||
kind: pipeline
|
||||
name: build
|
||||
name: Build-untagged
|
||||
|
||||
steps:
|
||||
- name: Build Binary for Testing (linux/amd64)
|
||||
image: golang
|
||||
commands:
|
||||
- go get -v -d ./...
|
||||
- go build -a -installsuffix cgo
|
||||
-ldflags="-X $I_PACKAGE.CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA
|
||||
-X $I_PACKAGE.CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH
|
||||
-X $I_PACKAGE.CI_COMMIT_TAG=$CI_COMMIT_TAG"
|
||||
- go build -a -installsuffix cgo
|
||||
-o linux-amd64
|
||||
.
|
||||
|
||||
steps:
|
||||
- name: Build-latest-tag-docker
|
||||
image: docker:dind
|
||||
volumes:
|
||||
|
@ -74,4 +70,8 @@ volumes:
|
|||
temp: {}
|
||||
|
||||
depends_on:
|
||||
- check
|
||||
- check
|
||||
|
||||
when:
|
||||
branch:
|
||||
- main
|
Loading…
Reference in a new issue