fix: change imagePullPolicy to IfNotPresent for local images
This commit is contained in:
@@ -25,7 +25,7 @@ COPY services/gateway/ ./services/gateway/
|
||||
WORKDIR /app/services/gateway
|
||||
RUN --mount=type=cache,target=/go/pkg/mod \
|
||||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
|
||||
CGO_ENABLED=0 GOOS=linux \
|
||||
go build -ldflags="-s -w" -trimpath -o /gateway .
|
||||
|
||||
# Runtime stage - distroless for minimal attack surface
|
||||
|
||||
Reference in New Issue
Block a user