Skip to content

cmd: define Version at build time from git to avoid hardcoded version #909

cmd: define Version at build time from git to avoid hardcoded version

cmd: define Version at build time from git to avoid hardcoded version #909

Triggered via pull request January 31, 2025 14:33
Status Failure
Total duration 7m 32s
Artifacts 1

ci.yaml

on: pull_request
Matrix: test
Check DockerHub secrets exist
0s
Check DockerHub secrets exist
Build Docker container
5m 58s
Build Docker container
Matrix: recipe-tests
Run unit tests
0s
Run unit tests
Publish to DockerHub
0s
Publish to DockerHub
allgreen
3s
allgreen
Publish to GHCR
0s
Publish to GHCR
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Build Docker container
buildx failed with: ERROR: failed to solve: process "/bin/sh -c go install -ldflags=\"-X main.Version=$(git describe --tags HEAD)\" ./..." did not complete successfully: exit code: 2
allgreen
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
go-debos~debos~UN3BDT.dockerbuild
112 KB