Skip to content

Commit

Permalink
Update base image to v1.21.8b1
Browse files Browse the repository at this point in the history
also fixup failing trivy image scan

Issue: rancher/rke2#5089
Signed-off-by: Michael Fritch <[email protected]>
  • Loading branch information
mgfritch committed Mar 25, 2024
1 parent 6a1251e commit ae8e105
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ platform:
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.21.8b1
commands:
- make DRONE_TAG=${DRONE_TAG} image-build-operator
- make DRONE_TAG=${DRONE_TAG} image-build-network-config-daemon
Expand All @@ -20,7 +20,7 @@ steps:
path: /var/run/docker.sock

- name: publish
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.21.8b1
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push-operator
Expand All @@ -39,7 +39,7 @@ steps:
- tag

- name: scan
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.21.8b1
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan-operator
- make DRONE_TAG=${DRONE_TAG} image-scan-network-config-daemon
Expand All @@ -65,7 +65,7 @@ platform:
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.21.8b1
commands:
- make DRONE_TAG=${DRONE_TAG} image-build-operator
- make DRONE_TAG=${DRONE_TAG} image-build-network-config-daemon
Expand All @@ -75,7 +75,7 @@ steps:
path: /var/run/docker.sock

- name: publish
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.21.8b1
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push-operator
Expand All @@ -94,7 +94,7 @@ steps:
- tag

- name: scan
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.21.8b1
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan-operator
- make DRONE_TAG=${DRONE_TAG} image-scan-network-config-daemon
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.amd64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# last commit on 2021-10-06
ARG TAG="v1.2.0"
ARG GOBORING_VERSION=v1.20.4b11
ARG GOBORING_VERSION=v1.21.8b1
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
ARG HARDENED_IMAGE=rancher/hardened-build-base:${GOBORING_VERSION}
ARG ARCH
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.arm64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# last commit on 2021-10-06
ARG TAG="v1.2.0"
ARG GOBORING_VERSION=v1.20.4b11
ARG GOBORING_VERSION=v1.21.8b1
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
ARG HARDENED_IMAGE=rancher/hardened-build-base:${GOBORING_VERSION}
ARG ARCH
Expand Down Expand Up @@ -49,4 +49,4 @@ FROM ${BCI_IMAGE} as operator
WORKDIR /
COPY --from=builder /go/sriov-network-operator/build/_output/linux/arm64/manager /usr/bin/sriov-network-operator
COPY --from=builder /go/sriov-network-operator/bindata /bindata
ENTRYPOINT ["/usr/bin/sriov-network-operator"]
ENTRYPOINT ["/usr/bin/sriov-network-operator"]
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ image-push-operator:

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

.PHONY: image-build-network-config-daemon
image-build-network-config-daemon:
Expand All @@ -63,7 +63,7 @@ image-push-network-config-daemon:

.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)
trivy image --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-sriov-network-config-daemon:$(TAG)

.PHONY: image-build-sriov-network-webhook
image-build-sriov-network-webhook:
Expand All @@ -84,4 +84,4 @@ image-push-sriov-network-webhook:

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

0 comments on commit ae8e105

Please sign in to comment.