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
|
kind: pipeline
|
||||||
name: build
|
name: Build-untagged
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build Binary for Testing (linux/amd64)
|
- name: Build Binary for Testing (linux/amd64)
|
||||||
|
@ -31,13 +31,9 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go get -v -d ./...
|
- go get -v -d ./...
|
||||||
- go build -a -installsuffix cgo
|
- 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
|
-o linux-amd64
|
||||||
.
|
.
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Build-latest-tag-docker
|
- name: Build-latest-tag-docker
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -75,3 +71,7 @@ volumes:
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- check
|
- check
|
||||||
|
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
Loading…
Reference in a new issue