From aa8ced7d725629190bba8e47f29bb24bb1bae3ad Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Sun, 4 Jun 2017 20:50:56 -0700 Subject: [PATCH] Fix package path of variables set at build time (#7) --- 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