Skip to content

Commit

Permalink
Fix package path of variables set at build time (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrynhard authored Jun 5, 2017
1 parent ad8eef9 commit aa8ced7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa8ced7

Please sign in to comment.