diff --git a/.drone.yml b/.drone.yml index 17bed08..e484193 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: @@ -18,7 +18,7 @@ steps: 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 image-manifest @@ -35,7 +35,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: @@ -58,7 +58,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: @@ -66,7 +66,7 @@ steps: 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 image-manifest @@ -83,7 +83,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: diff --git a/Dockerfile b/Dockerfile index c3d3d9c..2a5d96d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG TAG="v1.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 # Build the project FROM ${GO_IMAGE} as builder diff --git a/Makefile b/Makefile index ffef017..55c8dd4 100644 --- a/Makefile +++ b/Makefile @@ -46,4 +46,4 @@ image-manifest: .PHONY: image-scan image-scan: - trivy --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-sriov-network-resources-injector:$(TAG) + trivy image --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-sriov-network-resources-injector:$(TAG)