Skip to content

Commit

Permalink
Change ubi micro version to avoid vulnerability (#175)
Browse files Browse the repository at this point in the history
* upgrade ubi

* update git actions
  • Loading branch information
xuluna authored Oct 11, 2023
1 parent 181b7c3 commit f32aa75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
run: |
cd cmd/podmon
chmod +x ../../scripts/buildubimicro.sh
buildah unshare ../../scripts/buildubimicro.sh "registry.access.redhat.com/ubi9-micro:9.2-9"
buildah unshare ../../scripts/buildubimicro.sh "registry.access.redhat.com/ubi9-micro:9.2"
make clean build
podman build -t docker.io/podmon . --build-arg BASEIMAGE="localhost/resiliency-ubimicro"
podman save docker.io/library/podmon -o /tmp/podmon.tar
Expand Down
2 changes: 1 addition & 1 deletion cmd/podmon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-w' ./...

build-base-image:
sh ../../scripts/buildubimicro.sh "registry.access.redhat.com/ubi9-micro:9.2-9"
sh ../../scripts/buildubimicro.sh "registry.access.redhat.com/ubi9-micro:9.2"

podman:
podman build --no-cache -t "$(REGISTRY):$(VERSION)" --build-arg BASEIMAGE=$(BASEIMAGE) --label commit=$(shell git log --max-count 1 --format="%H") .
Expand Down

0 comments on commit f32aa75

Please sign in to comment.