Update harbor

This commit is contained in:
Tobias Reisinger 2023-11-19 06:05:05 +01:00
parent 1161296fcb
commit c25b5ee06d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 210 additions and 30 deletions

View file

@ -50,11 +50,11 @@ set -e
function check_golang {
if ! go version &> /dev/null
then
warn "No golang package in your enviroment. You should use golang docker image build binary."
warn "No golang package in your environment. You should use golang docker image build binary."
return
fi
# docker has been installed and check its version
# golang has been installed and check its version
if [[ $(go version) =~ (([0-9]+)\.([0-9]+)([\.0-9]*)) ]]
then
golang_version=${BASH_REMATCH[1]}
@ -133,4 +133,6 @@ function check_dockercompose {
error "Failed to parse docker-compose version."
exit 1
fi
}
}