Skip to content

Commit

Permalink
Update build image to v1.20.7b3 (rancher#47)
Browse files Browse the repository at this point in the history
* update build image to v1.20.7b3

Signed-off-by: Johnatas <[email protected]>

* update trivy image scan command

Signed-off-by: Johnatas <[email protected]>

---------

Signed-off-by: Johnatas <[email protected]>
  • Loading branch information
Johnatas authored Sep 4, 2023
1 parent ea09fe3 commit cc2bade
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 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.20.7b3
commands:
- make DRONE_TAG=${DRONE_TAG}
volumes:
Expand All @@ -24,7 +24,7 @@ steps:
- refs/pull/**

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

- name: scan
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan
volumes:
Expand All @@ -64,15 +64,15 @@ platform:
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
commands:
- make DRONE_TAG=${DRONE_TAG}
volumes:
- name: docker
path: /var/run/docker.sock

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

- name: scan
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan
volumes:
Expand Down Expand Up @@ -121,7 +121,7 @@ node:
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
commands:
- make DRONE_TAG=${DRONE_TAG}
volumes:
Expand All @@ -135,7 +135,7 @@ steps:
- refs/pull/**

- name: publish
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG ARCH="amd64"
ARG TAG="v3.26.1"
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.7b2
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.7b3
ARG CNI_IMAGE=rancher/hardened-cni-plugins:v1.2.0-build20230523
ARG GOEXPERIMENT=boringcrypto

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ image-manifest:

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

0 comments on commit cc2bade

Please sign in to comment.