From 521e0c79a9b7fec09fea8fe3de0820ea6ba9d7a4 Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Sun, 4 Jun 2017 20:44:58 -0700 Subject: [PATCH] Fix package path of variables set at build time --- conform.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conform.yaml b/conform.yaml index cbd6a0a0..d74e5967 100644 --- a/conform.yaml +++ b/conform.yaml @@ -63,7 +63,7 @@ templates: FROM golang:1.8.3 as build WORKDIR /go/src/github.com/autonomy/conform COPY ./ ./ - RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /conform -a -ldflags "-X \"github.com/autonomy/conform/version.Tag={{ trimAll "v" .GitInfo.Tag }}\" -X \"github.com/autonomy/conform/version.SHA={{ .GitInfo.SHA }}\" -X \"github.com/autonomy/conform/version.Built={{ .Built }}\"" + RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /conform -a -ldflags "-X \"github.com/autonomy/conform/conform/version.Tag={{ trimAll "v" .GitInfo.Tag }}\" -X \"github.com/autonomy/conform/conform/version.SHA={{ .GitInfo.SHA }}\" -X \"github.com/autonomy/conform/conform/version.Built={{ .Built }}\"" test: | FROM golang:1.8.3 as test WORKDIR /go/src/github.com/autonomy/conform