diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index a7acab9..2492e47 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -5,9 +5,9 @@ when: variables: - &image_name 'quay.krd.sh/krd/rngpotd' - &ext_image_name 'docker.io/rockdrilla/rngpotd' - - &buildah_image 'quay.krd.sh/quay_io/containers/buildah:v1.36.0' - - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.15.2' - - &go_image 'quay.krd.sh/golang:1.22.5-bookworm' + - &buildah_image 'quay.krd.sh/quay_io/containers/buildah:v1.37.3' + - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.16.1' + - &go_image 'quay.krd.sh/golang:1.23.2-bookworm' - &base_image 'quay.krd.sh/gcr_io/distroless/static-debian12:nonroot' ## value list depends on base image ## ref: https://github.com/GoogleContainerTools/distroless#debian-12 diff --git a/.woodpecker/.latest.yml b/.woodpecker/.latest.yml index e3422c6..7c380ce 100644 --- a/.woodpecker/.latest.yml +++ b/.woodpecker/.latest.yml @@ -5,7 +5,7 @@ when: variables: - &image_name 'quay.krd.sh/krd/rngpotd' - &ext_image_name 'docker.io/rockdrilla/rngpotd' - - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.15.2' + - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.16.1' ## NB: ${variable} expressions are subject to pre-processing. ## ref: https://woodpecker-ci.org/docs/usage/environment diff --git a/Dockerfile b/Dockerfile index 4de36ec..7a0bb70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_IMAGE=docker.io/library/golang:1.22.5-bookworm +ARG GO_IMAGE=docker.io/library/golang:1.23.2-bookworm ARG BASE_IMAGE=gcr.io/distroless/static-debian12:nonroot ## --- diff --git a/go.mod b/go.mod index 0eb92aa..b335656 100644 --- a/go.mod +++ b/go.mod @@ -1,19 +1,19 @@ module git.krd.sh/krd/rngpotd -go 1.22 +go 1.23 require github.com/gofiber/fiber/v2 v2.52.5 require ( github.com/andybalholm/brotli v1.1.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/klauspost/compress v1.17.9 // indirect + github.com/klauspost/compress v1.17.10 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.16 // indirect github.com/rivo/uniseg v0.4.7 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasthttp v1.55.0 // indirect + github.com/valyala/fasthttp v1.56.0 // indirect github.com/valyala/tcplisten v1.0.0 // indirect - golang.org/x/sys v0.22.0 // indirect + golang.org/x/sys v0.25.0 // indirect ) diff --git a/go.sum b/go.sum index e1e193c..128a80a 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ github.com/gofiber/fiber/v2 v2.52.5 h1:tWoP1MJQjGEe4GB5TUGOi7P2E0ZMMRx5ZTG4rT+yG github.com/gofiber/fiber/v2 v2.52.5/go.mod h1:KEOE+cXMhXG0zHc9d8+E38hoX+ZN7bhOtgeF2oT6jrQ= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= -github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= +github.com/klauspost/compress v1.17.10 h1:oXAz+Vh0PMUvJczoi+flxpnBEPxoER1IaAnU/NMPtT0= +github.com/klauspost/compress v1.17.10/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= @@ -18,11 +18,11 @@ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.55.0 h1:Zkefzgt6a7+bVKHnu/YaYSOPfNYNisSVBo/unVCf8k8= -github.com/valyala/fasthttp v1.55.0/go.mod h1:NkY9JtkrpPKmgwV3HTaS2HWaJss9RSIsRVfcxxoHiOM= +github.com/valyala/fasthttp v1.56.0 h1:bEZdJev/6LCBlpdORfrLu/WOZXXxvrUQSiyniuaoW8U= +github.com/valyala/fasthttp v1.56.0/go.mod h1:sReBt3XZVnudxuLOx4J/fMrJVorWRiWY2koQKgABiVI= github.com/valyala/tcplisten v1.0.0 h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8= github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= diff --git a/main.go b/main.go index 2e19ba3..d06b2ce 100644 --- a/main.go +++ b/main.go @@ -8,9 +8,9 @@ import ( const ( appName = "rngpotd" - appVersion = "0.0.2" + appVersion = "0.0.3" userAgent = appName + "/" + appVersion - serverAgent = "nginx/1.27.1" + serverAgent = "nginx/1.27.2" minimumGoMaxProcs = 4 maximumGoMaxProcs = 8