From 338210eb74935631ed94dc5d051eee84c9a96bce Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Fri, 20 Feb 2026 18:17:58 -0500 Subject: [PATCH] chore: bump handler-base to v0.1.5, add netrc secret mount to Dockerfile --- Dockerfile | 7 +++++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a67226..0851e50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,14 @@ FROM golang:1.25-alpine AS builder WORKDIR /app # Install ca-certificates for HTTPS -RUN apk add --no-cache ca-certificates +RUN apk add --no-cache ca-certificates git + +ENV GOPRIVATE=git.daviestechlabs.io +ENV GONOSUMCHECK=git.daviestechlabs.io # Copy go mod files COPY go.mod go.sum ./ -RUN go mod download +RUN --mount=type=secret,id=netrc,target=/root/.netrc go mod download # Copy source code COPY . . diff --git a/go.mod b/go.mod index 1662b99..03184e3 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.daviestechlabs.io/daviestechlabs/pipeline-bridge go 1.25.1 require ( - git.daviestechlabs.io/daviestechlabs/handler-base v0.1.3 + git.daviestechlabs.io/daviestechlabs/handler-base v0.1.5 github.com/nats-io/nats.go v1.48.0 github.com/vmihailenco/msgpack/v5 v5.4.1 ) diff --git a/go.sum b/go.sum index 525e94c..efceef0 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.daviestechlabs.io/daviestechlabs/handler-base v0.1.3 h1:uYog8B839ulqrWoht3qqCvT7CnR3e2skpaLZc2Pg3GI= -git.daviestechlabs.io/daviestechlabs/handler-base v0.1.3/go.mod h1:M3HgvUDWnRn7cX3BE8l+HvoCUYtmRr5OoumB+hnRHoE= +git.daviestechlabs.io/daviestechlabs/handler-base v0.1.5 h1:DqYZpeluTXh5QKqdVFgN8YIMh4Ycqzw5E9+5FTNDFCA= +git.daviestechlabs.io/daviestechlabs/handler-base v0.1.5/go.mod h1:M3HgvUDWnRn7cX3BE8l+HvoCUYtmRr5OoumB+hnRHoE= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=