diff --git a/.drone.yml b/.drone.yml index 18811ba..36ca614 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,7 @@ steps: image: rancher/hardened-build-base:v1.20.7b3 commands: - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - - make DRONE_TAG=${DRONE_TAG} image-push image-manifest + - make DRONE_TAG=${DRONE_TAG} image-push environment: DOCKER_PASSWORD: from_secret: docker_password @@ -70,7 +70,7 @@ steps: image: rancher/hardened-build-base:v1.20.7b3 commands: - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - - make DRONE_TAG=${DRONE_TAG} image-push image-manifest + - make DRONE_TAG=${DRONE_TAG} image-push environment: DOCKER_PASSWORD: from_secret: docker_password diff --git a/Makefile b/Makefile index 4d40b98..f38608d 100644 --- a/Makefile +++ b/Makefile @@ -37,14 +37,6 @@ image-build: image-push: docker push $(ORG)/hardened-sriov-network-device-plugin:$(TAG)-$(ARCH) -.PHONY: image-manifest -image-manifest: - DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create --amend \ - $(ORG)/hardened-sriov-network-device-plugin:$(TAG) \ - $(ORG)/hardened-sriov-network-device-plugin:$(TAG)-$(ARCH) - DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push \ - $(ORG)/hardened-sriov-network-device-plugin:$(TAG) - .PHONY: image-scan image-scan: trivy image --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-sriov-network-device-plugin:$(TAG)