diff --git a/.circleci/config.yml b/.circleci/config.yml index 900918d..f6c02a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ executors: golang: working_directory: /go/src/moul.io/cryptoguess docker: - - image: circleci/golang:1.14 + - image: circleci/golang:1.17 environment: GO111MODULE: "on" DOCKER_IMAGE: moul/cryptoguess @@ -15,11 +15,11 @@ executors: orbs: codecov: codecov/codecov@1.0.5 - moul: moul/build@1.5.0 + moul: moul/build@1.16.0 retry: moul/retry@0.6.0 docker: circleci/docker@0.5.13 #dl: moul/dl@1.7.0 - tools: gotest/tools@0.0.9 + tools: gotest/tools@0.0.14 jobs: go-build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27d33ef..7ab678a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - uses: codfish/semantic-release-action@v1.9.0 + - uses: codfish/semantic-release-action@v1.10.0 if: github.ref == 'refs/heads/master' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 812c0af..2627afa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build -FROM golang:1.16.5-alpine as builder +FROM golang:1.21.6-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on WORKDIR /go/src/moul.io/cryptoguess @@ -9,7 +9,7 @@ COPY . ./ RUN make install # minimalist runtime -FROM alpine:3.13.5 +FROM alpine:3.19.1 COPY --from=builder /go/bin/cryptoguess /bin/ ENTRYPOINT ["/bin/cryptoguess"] CMD [] diff --git a/go.mod b/go.mod index f8271ee..5b9fc43 100644 --- a/go.mod +++ b/go.mod @@ -9,5 +9,5 @@ require ( golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa // indirect gopkg.in/square/go-jose.v2 v2.6.0 - gopkg.in/urfave/cli.v2 v2.0.0-20190806201727-b62605953717 + gopkg.in/urfave/cli.v2 v2.27.1 )