diff --git a/.circleci/config.yml b/.circleci/config.yml index 2a47573..19ffe91 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,18 +1,18 @@ version: 2.1 orbs: - codecov: codecov/codecov@1.0.5 - moul: moul/build@1.14.0 + codecov: codecov/codecov@1.2.5 + moul: moul/build@1.16.0 retry: moul/retry@0.6.0 - docker: circleci/docker@0.5.20 + docker: circleci/docker@0.6.1 #dl: moul/dl@1.7.0 - tools: gotest/tools@0.0.13 + tools: gotest/tools@0.0.14 jobs: go-build: working_directory: /go/src/ultre.me/golang-repo-template docker: - - image: circleci/golang:1.13 + - image: circleci/golang:1.17 environment: GO111MODULE: "on" steps: diff --git a/Dockerfile b/Dockerfile index d3bf8a2..d6a1507 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VCS_REF ARG VERSION # build -FROM golang:1.13-alpine as builder +FROM golang:1.24-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on WORKDIR /go/src/ultre.me/golang-repo-template @@ -14,7 +14,7 @@ COPY . ./ RUN make install # minimalist runtime -FROM alpine:3.11 +FROM alpine:3.21 LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.name="golang-repo-template" \ org.label-schema.description="" \