Skip to content

Commit

Permalink
Update base image to v1.20.7b3 (#46)
Browse files Browse the repository at this point in the history
* update base 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 6b5b7ac commit 6de531a
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 @@ -7,7 +7,7 @@ platform:

steps:
- name: build
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
volumes:
- name: docker
path: /var/run/docker.sock
Expand All @@ -18,7 +18,7 @@ steps:
- make image-build

- name: scan
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
volumes:
- name: docker
path: /var/run/docker.sock
Expand All @@ -34,7 +34,7 @@ steps:
- refs/tags/*

- 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 Expand Up @@ -69,7 +69,7 @@ platform:

steps:
- name: build
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
volumes:
- name: docker
path: /var/run/docker.sock
Expand All @@ -80,7 +80,7 @@ steps:
- make image-build

- name: scan
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
volumes:
- name: docker
path: /var/run/docker.sock
Expand All @@ -96,7 +96,7 @@ steps:
- refs/tags/*

- 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 Expand Up @@ -133,7 +133,7 @@ node:

steps:
- name: build
image: rancher/hardened-build-base:v1.20.4b11
image: rancher/hardened-build-base:v1.20.7b3
environment:
GITHUB_TOKEN:
from_secret: github_token
Expand All @@ -144,7 +144,7 @@ steps:
- make image-build

- 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,5 +1,5 @@
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.4b11
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.7b3

FROM ${BCI_IMAGE} as bci
FROM ${GO_IMAGE} as build
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ image-push:

.PHONY: scan
image-scan:
trivy --severity $(SEVERITIES) --no-progress --skip-update --ignore-unfixed $(ORG)/hardened-kubernetes:$(TAG)-linux-$(ARCH)
trivy image --severity $(SEVERITIES) --no-progress --skip-db-update --ignore-unfixed $(ORG)/hardened-kubernetes:$(TAG)-linux-$(ARCH)

.PHONY: image-manifest
image-manifest:
Expand Down

0 comments on commit 6de531a

Please sign in to comment.