fix circle build
@@ -40,8 +40,8 @@ yaml-templates:
cd install/operator
VERSION="${CIRCLE_TAG:-ci-${CIRCLE_BUILD_NUM}}"
export GO111MODULE=on
- echo go build -gcflags all=-trimpath=\${GOPATH} -asmflags all=-trimpath=\${GOPATH} -mod=vendor -ldflags "-X github.com/syndesisio/syndesis/install/operator/pkg.DefaultOperatorImage=docker.io/syndesis/syndesis-operator:$VERSION" -o ${basedir}/dist/${PLATFORM:-${GOOS}-${GOARCH}}/syndesis${EXESUFFIX} ./cmd/manager
- go build -gcflags all=-trimpath=\${GOPATH} -asmflags all=-trimpath=\${GOPATH} -mod=vendor -ldflags "-X github.com/syndesisio/syndesis/install/operator/pkg.DefaultOperatorImage=docker.io/syndesis/syndesis-operator:latest" -o ${basedir}/dist/${PLATFORM:-${GOOS}-${GOARCH}}/syndesis${EXESUFFIX} ./cmd/manager
+ echo go build -gcflags all=-trimpath=\${GOPATH} -asmflags all=-trimpath=\${GOPATH} -mod=vendor -ldflags "-X github.com/syndesisio/syndesis/install/operator/pkg.DefaultOperatorImage=docker.io/syndesis/syndesis-operator -X github.com/syndesisio/syndesis/install/operator/pkg.DefaultOperatorTag=$VERSION" -o ${basedir}/dist/${PLATFORM:-${GOOS}-${GOARCH}}/syndesis${EXESUFFIX} ./cmd/manager
+ go build -gcflags all=-trimpath=\${GOPATH} -asmflags all=-trimpath=\${GOPATH} -mod=vendor -ldflags "-X github.com/syndesisio/syndesis/install/operator/pkg.DefaultOperatorImage=docker.io/syndesis/syndesis-operator -X github.com/syndesisio/syndesis/install/operator/pkg.DefaultOperatorTag=latest" -o ${basedir}/dist/${PLATFORM:-${GOOS}-${GOARCH}}/syndesis${EXESUFFIX} ./cmd/manager
store_dist: &store_dist
persist_to_workspace:
