mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 14:35:34 +00:00
Bump up clair to v2.0.5 (#5787)
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit is contained in:
parent
bd5098870c
commit
5bded8e6a1
2
Makefile
2
Makefile
|
@ -100,7 +100,7 @@ NGINXVERSION=$(VERSIONTAG)
|
|||
PHOTONVERSION=1.0
|
||||
NOTARYVERSION=v0.5.1
|
||||
MARIADBVERSION=$(VERSIONTAG)
|
||||
CLAIRVERSION=v2.0.4
|
||||
CLAIRVERSION=v2.0.5
|
||||
CLAIRDBVERSION=$(VERSIONTAG)
|
||||
MIGRATORVERSION=v1.5.0
|
||||
REDISVERSION=$(VERSIONTAG)
|
||||
|
|
|
@ -121,7 +121,7 @@ _build_clair:
|
|||
@if [ "$(CLAIRFLAG)" = "true" ] ; then \
|
||||
if [ "$(BUILDBIN)" != "true" ] ; then \
|
||||
rm -rf $(DOCKERFILEPATH_CLAIR)/binary && mkdir -p $(DOCKERFILEPATH_CLAIR)/binary && \
|
||||
$(call _get_binary, https://storage.googleapis.com/harbor-builds/bin/clair, $(DOCKERFILEPATH_CLAIR)/binary/clair); \
|
||||
$(call _get_binary, https://storage.googleapis.com/harbor-builds/bin/clair/release2.0-$(CLAIRVERSION)/clair, $(DOCKERFILEPATH_CLAIR)/binary/clair); \
|
||||
else \
|
||||
cd $(DOCKERFILEPATH_CLAIR) && $(DOCKERFILEPATH_CLAIR)/builder $(CLAIRVERSION); \
|
||||
fi ; \
|
||||
|
|
|
@ -18,7 +18,7 @@ gsutil version -l
|
|||
set +x
|
||||
|
||||
## -------------------------------------------- Pre-condition --------------------------------------------
|
||||
if [[ $DRONE_REPO != "vmware/harbor" ]]; then
|
||||
if [[ $DRONE_REPO != "goharbor/harbor" ]]; then
|
||||
echo "Only run tests again Harbor Repo."
|
||||
exit 1
|
||||
fi
|
||||
|
@ -70,7 +70,7 @@ container_ip=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print
|
|||
echo $container_ip
|
||||
|
||||
## --------------------------------------------- Init Version -----------------------------------------------
|
||||
buildinfo=$(drone build info vmware/harbor $DRONE_BUILD_NUMBER)
|
||||
buildinfo=$(drone build info goharbor/harbor $DRONE_BUILD_NUMBER)
|
||||
echo $buildinfo
|
||||
git_commit=$(git rev-parse --short=8 HEAD)
|
||||
|
||||
|
@ -208,4 +208,4 @@ if [ -f "$keyfile" ]; then
|
|||
rm -f $keyfile
|
||||
fi
|
||||
|
||||
exit $rc
|
||||
exit $rc
|
||||
|
|
Loading…
Reference in New Issue
Block a user