Make it untagged
This commit is contained in:
parent
fb4347eb7e
commit
17536c2312
1 changed files with 7 additions and 7 deletions
10
.drone.yml
10
.drone.yml
|
@ -23,7 +23,7 @@ steps:
|
|||
|
||||
---
|
||||
kind: pipeline
|
||||
name: build
|
||||
name: Build-untagged
|
||||
|
||||
steps:
|
||||
- name: Build Binary for Testing (linux/amd64)
|
||||
|
@ -31,13 +31,9 @@ steps:
|
|||
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"
|
||||
-o linux-amd64
|
||||
.
|
||||
|
||||
steps:
|
||||
- name: Build-latest-tag-docker
|
||||
image: docker:dind
|
||||
volumes:
|
||||
|
@ -75,3 +71,7 @@ volumes:
|
|||
|
||||
depends_on:
|
||||
- check
|
||||
|
||||
when:
|
||||
branch:
|
||||
- main
|
Loading…
Reference in a new issue