v1.1.9
This commit is contained in:
parent
bbe4c7a12d
commit
757a4b93c5
|
|
@ -2,7 +2,7 @@ build:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- Machine0
|
- dind-runner
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
12
Makefile
12
Makefile
|
|
@ -1,4 +1,5 @@
|
||||||
IMAGE_TAG ?= docker.educg.net/cg/k8s-manager:v1.1.4
|
TAG ?= v1.1.9
|
||||||
|
IMAGE_TAG ?= docker.educg.net/cg/k8s-manager:$(TAG)
|
||||||
|
|
||||||
build: export CGO_ENABLED=0
|
build: export CGO_ENABLED=0
|
||||||
build: export GOOS=linux
|
build: export GOOS=linux
|
||||||
|
|
@ -20,4 +21,11 @@ restart: docker
|
||||||
kubectl apply -f install.yaml
|
kubectl apply -f install.yaml
|
||||||
|
|
||||||
push: docker
|
push: docker
|
||||||
docker push $(IMAGE_TAG)
|
docker push $(IMAGE_TAG)
|
||||||
|
|
||||||
|
tag:
|
||||||
|
git add .
|
||||||
|
git commit -m $(TAG)
|
||||||
|
git tag $(TAG)
|
||||||
|
git push origin master
|
||||||
|
git push origin $(TAG)
|
||||||
Loading…
Reference in New Issue