mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 16:32:35 +02:00
Make only the binary inside golang toolchain, push from jenkins
This commit is contained in:
committed by
Murat Kabilov
parent
f1d59c425a
commit
3f5bc83de1
@@ -30,7 +30,7 @@ build/linux/${BINARY}: ${SOURCES}
|
|||||||
build/macos/${BINARY}: ${SOURCES}
|
build/macos/${BINARY}: ${SOURCES}
|
||||||
GOOS=darwin GOARCH=amd64 go build -o $@ ${BUILD_FLAGS} $^
|
GOOS=darwin GOARCH=amd64 go build -o $@ ${BUILD_FLAGS} $^
|
||||||
|
|
||||||
docker: ${DOCKERFILE} clean scm-source.json linux
|
docker: ${DOCKERFILE} scm-source.json linux
|
||||||
docker build --rm -t "$(IMAGE):$(TAG)" -f $< .
|
docker build --rm -t "$(IMAGE):$(TAG)" -f $< .
|
||||||
|
|
||||||
push:
|
push:
|
||||||
|
|||||||
+1
-1
@@ -10,4 +10,4 @@ ln -s $PWD $project_dir
|
|||||||
cd $project_dir
|
cd $project_dir
|
||||||
|
|
||||||
glide install
|
glide install
|
||||||
make docker push
|
make scm-source.json linux
|
||||||
|
|||||||
Reference in New Issue
Block a user