Skip to content

Commit

Permalink
Merge pull request rancher#19 from manuelbuil/remove-push-manifest
Browse files Browse the repository at this point in the history
Remove push manifest from drone and makefile
  • Loading branch information
manuelbuil authored Sep 25, 2023
2 parents 6be9e76 + aca446a commit ee6b6be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ image-build:
image-push:
docker push $(ORG)/hardened-ib-sriov-cni:$(TAG)-$(ARCH)

.PHONY: image-manifest
image-manifest:
DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create --amend \
$(ORG)/hardened-ib-sriov-cni:$(TAG) \
$(ORG)/hardened-ib-sriov-cni:$(TAG)-$(ARCH)
DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push \
$(ORG)/hardened-ib-sriov-cni:$(TAG)

.PHONY: image-scan
image-scan:
trivy image --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-ib-sriov-cni:$(TAG)

0 comments on commit ee6b6be

Please sign in to comment.