代码拉取完成,页面将自动刷新
SEVERITIES = HIGH,CRITICAL
ifeq ($(ARCH),)
ARCH=$(shell go env GOARCH)
endif
BUILD_META=-build$(shell date +%Y%m%d)
ORG ?= rancher
TAG ?= 4c18d06f1d545ed6fde810c2b97935dc8938ddc8$(BUILD_META)
ifneq ($(DRONE_TAG),)
TAG := $(DRONE_TAG)
endif
ifeq (,$(filter %$(BUILD_META),$(TAG)))
$(error TAG needs to end with build metadata: $(BUILD_META))
endif
.PHONY: image-build-%
image-build-%:
name=$(@:image-build-%=%); $${name}/build-$${name}-image.sh ${BUILD_META} ${TAG} ${ARCH} ${ORG}
.PHONY: image-push-%
image-push-%:
name=$(@:image-push-%=%); docker push $(ORG)/hardened-cilium-$${name}:$(TAG)-$(ARCH)
.PHONY: image-manifest-%
image-manifest-%:
name=$(@:image-manifest-%=%); DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create --amend \
$(ORG)/hardened-cilium-$${name}:$(TAG) \
$(ORG)/hardened-cilium-$${name}:$(TAG)-$(ARCH)
name=$(@:image-manifest-%=%); DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push \
$(ORG)/hardened-cilium-$${name}:$(TAG)
.PHONY: image-scan-%
image-scan-%:
name=$(@:image-scan-%=%); trivy --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-cilium-$${name}:$(TAG)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。