diff --git a/Dockerfile b/Dockerfile index 351d32d..237fbed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18 as build-env +FROM golang:1.21-alpine AS build-env ENV GO111MODULE=on \ @@ -6,8 +6,9 @@ ENV GO111MODULE=on \ GOOS=linux \ GOARCH=amd64 -RUN apt-get -qq update && \ - apt-get -yqq install upx +# Install upx +RUN apk add --no-cache upx +RUN apk add --no-cache binutils WORKDIR /src COPY . . diff --git a/go.mod b/go.mod index 944cec5..47be88e 100644 --- a/go.mod +++ b/go.mod @@ -1,13 +1,15 @@ module github.com/guilhem/rss-issues-action -go 1.18 +go 1.21 + +toolchain go1.22.2 require ( github.com/JohannesKaufmann/html-to-markdown v1.3.6 github.com/akrennmair/slice v0.0.0-20220105203817-49445747ab81 github.com/google/go-github/v33 v33.0.0 github.com/mmcdole/gofeed v1.1.3 - github.com/sethvargo/go-githubactions v1.0.0 + github.com/sethvargo/go-githubactions v1.2.0 github.com/thoas/go-funk v0.9.2 golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5 ) diff --git a/go.sum b/go.sum index 5308e73..42a4a48 100644 --- a/go.sum +++ b/go.sum @@ -149,6 +149,8 @@ github.com/sethvargo/go-envconfig v0.6.0 h1:GxxdoeiNpWgGiVEphNFNObgMYRN/ZvI2dN7r github.com/sethvargo/go-envconfig v0.6.0/go.mod h1:00S1FAhRUuTNJazWBWcJGvEHOM+NO6DhoRMAOX7FY5o= github.com/sethvargo/go-githubactions v1.0.0 h1:5mYGPNxIwIXaS8MLj4uYGWM8QM8giUVqA4FuSYOZjXE= github.com/sethvargo/go-githubactions v1.0.0/go.mod h1:UaidDD1ENTLXzTtj/4MnYjY40/5WLijgn2O8KBsdv7o= +github.com/sethvargo/go-githubactions v1.2.0 h1:Gbr36trCAj6uq7Rx1DolY1NTIg0wnzw3/N5WHdKIjME= +github.com/sethvargo/go-githubactions v1.2.0/go.mod h1:7/4WeHgYfSz9U5vwuToCK9KPnELVHAhGtRwLREOQV80= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=