mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 06:28:06 +01:00
commit
60ae6fba1b
4
Makefile
4
Makefile
@ -325,8 +325,8 @@ cleanimage:
|
|||||||
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_DB):$(VERSIONTAG)
|
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_DB):$(VERSIONTAG)
|
||||||
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG)
|
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG)
|
||||||
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_LOG):$(VERSIONTAG)
|
- $(DOCKERRMIMAGE) -f $(DOCKERIMAGENAME_LOG):$(VERSIONTAG)
|
||||||
- $(DOCKERRMIMAGE) -f registry:2.5.0
|
#- $(DOCKERRMIMAGE) -f registry:2.5.0
|
||||||
- $(DOCKERRMIMAGE) -f nginx:1.9
|
#- $(DOCKERRMIMAGE) -f nginx:1.9
|
||||||
|
|
||||||
cleandockercomposefile:
|
cleandockercomposefile:
|
||||||
@echo "cleaning $(DOCKERCOMPOSEFILEPATH)/docker-compose.$(VERSIONTAG).yml"
|
@echo "cleaning $(DOCKERCOMPOSEFILEPATH)/docker-compose.$(VERSIONTAG).yml"
|
||||||
|
@ -69,7 +69,7 @@ function check_golang {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# docker has been installed and check its version
|
# docker has been installed and check its version
|
||||||
if [[ $(go version) =~ (([0-9]+).([0-9]+).([0-9]+)) ]]
|
if [[ $(go version) =~ (([0-9]+)\.([0-9]+)([\.0-9]*)) ]]
|
||||||
then
|
then
|
||||||
golang_version=${BASH_REMATCH[1]}
|
golang_version=${BASH_REMATCH[1]}
|
||||||
golang_version_part1=${BASH_REMATCH[2]}
|
golang_version_part1=${BASH_REMATCH[2]}
|
||||||
@ -97,7 +97,7 @@ function check_docker {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# docker has been installed and check its version
|
# docker has been installed and check its version
|
||||||
if [[ $(docker --version) =~ (([0-9]+).([0-9]+).([0-9]+)) ]]
|
if [[ $(docker --version) =~ (([0-9]+)\.([0-9]+)([\.0-9]*)) ]]
|
||||||
then
|
then
|
||||||
docker_version=${BASH_REMATCH[1]}
|
docker_version=${BASH_REMATCH[1]}
|
||||||
docker_version_part1=${BASH_REMATCH[2]}
|
docker_version_part1=${BASH_REMATCH[2]}
|
||||||
@ -125,7 +125,7 @@ function check_dockercompose {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# docker-compose has been installed, check its version
|
# docker-compose has been installed, check its version
|
||||||
if [[ $(docker-compose --version) =~ (([0-9]+).([0-9]+).([0-9]+)) ]]
|
if [[ $(docker-compose --version) =~ (([0-9]+)\.([0-9]+)([\.0-9]*)) ]]
|
||||||
then
|
then
|
||||||
docker_compose_version=${BASH_REMATCH[1]}
|
docker_compose_version=${BASH_REMATCH[1]}
|
||||||
docker_compose_version_part1=${BASH_REMATCH[2]}
|
docker_compose_version_part1=${BASH_REMATCH[2]}
|
||||||
|
Loading…
Reference in New Issue
Block a user