Skip to content

Commit

Permalink
Merge pull request #19 from thomasferrandiz/wh-0.6.3
Browse files Browse the repository at this point in the history
update to v0.6.3 and bump hardened-build-base
  • Loading branch information
thomasferrandiz authored Jan 9, 2024
2 parents 7e33afa + 365aa46 commit eb518e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ platform:
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- make DRONE_TAG=${DRONE_TAG}
volumes:
- name: docker
path: /var/run/docker.sock

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

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

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

- name: scan
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan
volumes:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.7b3
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.12b2
FROM ${BCI_IMAGE} as bci

FROM ${GO_IMAGE} as builder
ARG ARCH="amd64"
ARG TAG="v0.6.2"
ARG TAG="v0.6.3"
ARG PKG="github.com/k8snetworkplumbingwg/whereabouts"
ARG SRC="github.com/k8snetworkplumbingwg/whereabouts"
RUN git clone --depth=1 https://${SRC}.git $GOPATH/src/${PKG}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ BUILD_META=-build$(shell date +%Y%m%d)
ORG ?= rancher
PKG ?= github.com/k8snetworkplumbingwg/whereabouts
SRC ?= github.com/k8snetworkplumbingwg/whereabouts
TAG ?= v0.6.2$(BUILD_META)
TAG ?= v0.6.3$(BUILD_META)

ifneq ($(DRONE_TAG),)
TAG := $(DRONE_TAG)
Expand Down

0 comments on commit eb518e2

Please sign in to comment.