Skip to content

Commit

Permalink
dockerfile: update go-mod-outdated to v0.9.0
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jul 3, 2024
1 parent 5656c98 commit f656315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/dockerfiles/vendor.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION=1.22
ARG MODOUTDATED_VERSION=v0.8.0
ARG MODOUTDATED_VERSION=v0.9.0

FROM golang:${GO_VERSION}-alpine AS base
RUN apk add --no-cache git rsync
Expand Down Expand Up @@ -41,5 +41,5 @@ FROM psampaz/go-mod-outdated:${MODOUTDATED_VERSION} AS go-mod-outdated
FROM base AS outdated
RUN --mount=target=.,ro \
--mount=target=/go/pkg/mod,type=cache \
--mount=from=go-mod-outdated,source=/home/go-mod-outdated,target=/usr/bin/go-mod-outdated \
--mount=from=go-mod-outdated,source=/usr/bin/go-mod-outdated,target=/usr/bin/go-mod-outdated \
go list -mod=readonly -u -m -json all | go-mod-outdated -update -direct

0 comments on commit f656315

Please sign in to comment.