diff --git a/.drone.yml b/.drone.yml index 7672631..01c7b09 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ pool: steps: - name: build - image: golang:1.22.4 + image: golang:1.23.0 commands: - go test ./... - sh scripts/build.sh @@ -27,7 +27,7 @@ platform: steps: - name: build-push - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/plugin' environment: @@ -38,7 +38,7 @@ steps: - tag - name: build-tag - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/plugin' environment: @@ -85,7 +85,7 @@ platform: steps: - name: build-push - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/plugin' environment: @@ -96,7 +96,7 @@ steps: - tag - name: build-tag - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/plugin' environment: @@ -143,7 +143,7 @@ platform: steps: - name: build-push - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: @@ -153,7 +153,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: @@ -199,7 +199,7 @@ platform: steps: - name: build-push - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: @@ -209,7 +209,7 @@ steps: exclude: - tag - name: build-tag - image: golang:1.22.4 + image: golang:1.23.0 commands: - 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin' environment: diff --git a/go.mod b/go.mod index b230f8a..0027279 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/drone/drone-artifactory -go 1.22.4 +go 1.23.4 require ( github.com/kelseyhightower/envconfig v1.4.0