Finished CI Build

This commit is contained in:
Phil 2022-12-24 00:39:23 +01:00
parent e226706307
commit 1131c2f7a5

View file

@ -26,7 +26,19 @@ kind: pipeline
name: build
steps:
- name: build-docker
- 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"
-o linux-amd64
.
steps:
- name: Build-latest-tag-docker
image: docker:dind
volumes:
- name: dockersock
@ -60,3 +72,6 @@ services:
volumes:
- name: dockersock
temp: {}
depends_on:
- check