Make it untagged

This commit is contained in:
Phil 2022-12-24 22:03:46 +01:00
parent fb4347eb7e
commit 17536c2312

View file

@ -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