update lead version to Go 1.25 (#543)
This commit is contained in:
parent
1ad1dc15dd
commit
6caf0e77fa
|
|
@ -9,12 +9,6 @@ shared_configs:
|
||||||
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
|
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
|
||||||
version: 2.1
|
version: 2.1
|
||||||
jobs:
|
jobs:
|
||||||
build-1-22:
|
|
||||||
working_directory: ~/repo
|
|
||||||
docker:
|
|
||||||
- image: cimg/go:1.22
|
|
||||||
steps: *simple_job_steps
|
|
||||||
|
|
||||||
build-1-23:
|
build-1-23:
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
docker:
|
docker:
|
||||||
|
|
@ -25,6 +19,12 @@ jobs:
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/go:1.24
|
- image: cimg/go:1.24
|
||||||
|
steps: *simple_job_steps
|
||||||
|
|
||||||
|
build-1-25:
|
||||||
|
working_directory: ~/repo
|
||||||
|
docker:
|
||||||
|
- image: cimg/go:1.25
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
|
|
@ -35,6 +35,6 @@ jobs:
|
||||||
workflows:
|
workflows:
|
||||||
pr-build-test:
|
pr-build-test:
|
||||||
jobs:
|
jobs:
|
||||||
- build-1-22
|
|
||||||
- build-1-23
|
- build-1-23
|
||||||
- build-1-24
|
- build-1-24
|
||||||
|
- build-1-25
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
FROM golang:1.23-alpine as builder
|
FROM golang:1.25-alpine AS builder
|
||||||
MAINTAINER Fullstory Engineering
|
LABEL maintainer="Fullstory Engineering"
|
||||||
|
|
||||||
# create non-privileged group and user
|
# create non-privileged group and user
|
||||||
RUN addgroup -S grpcurl && adduser -S grpcurl -G grpcurl
|
RUN addgroup -S grpcurl && adduser -S grpcurl -G grpcurl
|
||||||
|
|
@ -16,7 +16,7 @@ RUN go build -o /grpcurl \
|
||||||
-ldflags "-w -extldflags \"-static\" -X \"main.version=$(cat VERSION)\"" \
|
-ldflags "-w -extldflags \"-static\" -X \"main.version=$(cat VERSION)\"" \
|
||||||
./cmd/grpcurl
|
./cmd/grpcurl
|
||||||
|
|
||||||
FROM alpine:3 as alpine
|
FROM alpine:3 AS alpine
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||||
COPY --from=builder /etc/passwd /etc/passwd
|
COPY --from=builder /etc/passwd /etc/passwd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue