Make it untagged

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

View file

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