Skip to content

Commit

Permalink
Merge pull request #28 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 f5b5a19 + 519f2ef commit c8ab4fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 30 deletions.
12 changes: 6 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ steps:
image: rancher/hardened-build-base:v1.20.4b11
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push-operator image-manifest-operator
- make DRONE_TAG=${DRONE_TAG} image-push-network-config-daemon image-manifest-network-config-daemon
- make DRONE_TAG=${DRONE_TAG} image-push-sriov-network-webhook image-manifest-sriov-network-webhook
- make DRONE_TAG=${DRONE_TAG} image-push-operator
- make DRONE_TAG=${DRONE_TAG} image-push-network-config-daemon
- make DRONE_TAG=${DRONE_TAG} image-push-sriov-network-webhook
environment:
DOCKER_PASSWORD:
from_secret: docker_password
Expand Down Expand Up @@ -78,9 +78,9 @@ steps:
image: rancher/hardened-build-base:v1.20.4b11
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push-operator image-manifest-operator
- make DRONE_TAG=${DRONE_TAG} image-push-network-config-daemon image-manifest-network-config-daemon
- make DRONE_TAG=${DRONE_TAG} image-push-sriov-network-webhook image-manifest-sriov-network-webhook
- make DRONE_TAG=${DRONE_TAG} image-push-operator
- make DRONE_TAG=${DRONE_TAG} image-push-network-config-daemon
- make DRONE_TAG=${DRONE_TAG} image-push-sriov-network-webhook
environment:
DOCKER_PASSWORD:
from_secret: docker_password
Expand Down
24 changes: 0 additions & 24 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ image-build-operator:
image-push-operator:
docker push $(ORG)/hardened-sriov-network-operator:$(TAG)-$(ARCH)

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

.PHONY: image-scan-operator
image-scan-operator:
trivy --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-sriov-network-operator:$(TAG)
Expand All @@ -69,14 +61,6 @@ image-build-network-config-daemon:
image-push-network-config-daemon:
docker push $(ORG)/hardened-sriov-network-config-daemon:$(TAG)-$(ARCH)

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

.PHONY: image-scan-network-config-daemon
image-scan-network-config-daemon:
trivy --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-sriov-network-config-daemon:$(TAG)
Expand All @@ -98,14 +82,6 @@ image-build-sriov-network-webhook:
image-push-sriov-network-webhook:
docker push $(ORG)/hardened-sriov-network-webhook:$(TAG)-$(ARCH)

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

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

0 comments on commit c8ab4fe

Please sign in to comment.