diff --git a/.drone.yml b/.drone.yml index d2c4364..eac1670 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ platform: steps: - name: vet - image: golang:1.23 + image: golang:1.24.11 commands: - go vet ./... environment: @@ -22,7 +22,7 @@ steps: path: /go - name: test - image: golang:1.23 + image: golang:1.24.11 commands: - go test -cover ./... environment: @@ -55,7 +55,7 @@ platform: steps: - name: go build - image: golang:1.23 + image: golang:1.24.11 environment: CGO_ENABLED: 0 commands: @@ -162,7 +162,7 @@ platform: steps: - name: go build - image: golang:1.23 + image: golang:1.24.11 environment: CGO_ENABLED: 0 commands: @@ -264,7 +264,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker' environment: @@ -275,7 +275,7 @@ steps: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker' environment: @@ -285,7 +285,7 @@ steps: - tag - name: executable - image: golang:1.23 + image: golang:1.24.11 commands: - ./release/linux/amd64/drone-docker --help @@ -329,7 +329,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker' environment: @@ -340,7 +340,7 @@ steps: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker' environment: @@ -350,7 +350,7 @@ steps: - tag - name: executable - image: golang:1.23 + image: golang:1.24.11 commands: - ./release/linux/arm64/drone-docker --help @@ -429,7 +429,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr' environment: @@ -440,7 +440,7 @@ steps: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr' environment: @@ -488,7 +488,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr' environment: @@ -499,7 +499,7 @@ steps: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr' environment: @@ -582,7 +582,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-gar ./cmd/drone-gar' environment: @@ -593,7 +593,7 @@ steps: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-gar ./cmd/drone-gar' environment: @@ -641,7 +641,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-gar ./cmd/drone-gar' environment: @@ -652,7 +652,7 @@ steps: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-gar ./cmd/drone-gar' environment: @@ -734,7 +734,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr' environment: @@ -744,7 +744,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr' environment: @@ -792,7 +792,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr' environment: @@ -802,7 +802,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr' environment: @@ -885,7 +885,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku' environment: @@ -895,7 +895,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku' environment: @@ -944,7 +944,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_COMMIT_SHA:0:8}" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku' environment: @@ -954,7 +954,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku' environment: @@ -1035,7 +1035,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr' environment: @@ -1045,7 +1045,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr' environment: @@ -1093,7 +1093,7 @@ platform: steps: - name: build-push - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/drone-acr ./cmd/drone-acr' environment: @@ -1104,7 +1104,7 @@ steps: - tag - name: build-tag - image: golang:1.23 + image: golang:1.24.11 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/drone-acr ./cmd/drone-acr' environment: diff --git a/.harness/harness.yaml b/.harness/harness.yaml index a0f766b..a8b3e6e 100644 --- a/.harness/harness.yaml +++ b/.harness/harness.yaml @@ -33,7 +33,7 @@ pipeline: identifier: Run_1 spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.24.11 shell: Sh command: go vet ./... - step: @@ -42,7 +42,7 @@ pipeline: identifier: Run_2 spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.24.11 shell: Sh command: go test -cover ./... - parallel: @@ -70,7 +70,7 @@ pipeline: identifier: Build_Push spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.24.11 shell: Sh command: go build -a -tags netgo -o release/linux/amd64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> envVariables: @@ -157,7 +157,7 @@ pipeline: identifier: buildpush spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.24.11 shell: Sh command: go build -a -tags netgo -o release/linux/arm64/drone-<+matrix.repo> ./cmd/drone-<+matrix.repo> envVariables: @@ -244,7 +244,7 @@ pipeline: identifier: go_build spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.24.11 shell: Sh command: |- # disable cgo @@ -332,7 +332,7 @@ pipeline: identifier: build_amd64ltsc2022 spec: connectorRef: Plugins_Docker_Hub_Connector - image: golang:1.23.0 + image: golang:1.24.11 shell: Sh command: |- # disable cgo diff --git a/go.mod b/go.mod index 63a0429..8fc588d 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/inhies/go-bytesize v0.0.0-20210819104631-275770b98743 github.com/joho/godotenv v1.3.0 github.com/pkg/errors v0.9.1 - github.com/sirupsen/logrus v1.9.0 + github.com/sirupsen/logrus v1.9.3 github.com/stretchr/testify v1.10.0 github.com/urfave/cli v1.22.2 golang.org/x/oauth2 v0.27.0 @@ -48,6 +48,6 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.23.0 +go 1.24 -toolchain go1.23.7 +toolchain go1.24.11 diff --git a/go.sum b/go.sum index 0a7752f..8fbd4cc 100644 --- a/go.sum +++ b/go.sum @@ -108,8 +108,8 @@ github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= -github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=