mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-18 02:36:27 -08:00
Version is not propagating on CI/CD build.
All checks were successful
G'Agent Scan, Build, and Test / scan (push) Successful in 1m36s
G'Agent Scan, Build, and Test / build_simple (push) Successful in 1m16s
G'Agent Scan, Build, and Test / test_simple (push) Successful in 15s
G'Agent Scan, Build, and Test / build_image (push) Successful in 1m30s
All checks were successful
G'Agent Scan, Build, and Test / scan (push) Successful in 1m36s
G'Agent Scan, Build, and Test / build_simple (push) Successful in 1m16s
G'Agent Scan, Build, and Test / test_simple (push) Successful in 15s
G'Agent Scan, Build, and Test / build_image (push) Successful in 1m30s
This commit is contained in:
parent
07215828b8
commit
4717b49701
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ ARG GOOS=${GOOS:-linux}
|
|||
ARG CGO_ENABLED=1
|
||||
|
||||
RUN apk add --no-cache zeromq-dev build-base git
|
||||
RUN go build -o /gagent/bin/gagent -ldflags "-X main.semVER=${SEMVER}" cmd/gagent/main.go
|
||||
RUN go build -o /gagent/bin/gagent -ldflags "-X main.Version=${SEMVER}" cmd/gagent/main.go
|
||||
RUN strip /gagent/bin/gagent
|
||||
|
||||
FROM alpine:3.20
|
||||
|
|
|
@ -68,7 +68,7 @@ var wg sync.WaitGroup
|
|||
/*
|
||||
* Set version
|
||||
*/
|
||||
var Version = "0.0.11"
|
||||
var Version = "0.0.1"
|
||||
|
||||
/*
|
||||
* This is the main function, and it assumes that the configuration file has
|
||||
|
|
Loading…
Add table
Reference in a new issue