v1.1.9
This commit is contained in:
parent
bbe4c7a12d
commit
757a4b93c5
|
|
@ -2,7 +2,7 @@ build:
|
|||
image: docker:latest
|
||||
stage: build
|
||||
tags:
|
||||
- Machine0
|
||||
- dind-runner
|
||||
only:
|
||||
- tags
|
||||
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 GOOS=linux
|
||||
|
|
@ -20,4 +21,11 @@ restart: docker
|
|||
kubectl apply -f install.yaml
|
||||
|
||||
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