Skip to content

Commit

Permalink
Merge pull request #54 from harness/scheduled_go_upgrade2024-03-04_08…
Browse files Browse the repository at this point in the history
…-03-22

Update go Version in all files
  • Loading branch information
HenAmar authored Mar 6, 2024
2 parents 065103e + 02f948e commit 799284f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pool:

steps:
- name: build
image: golang:1.21
image: golang:1.22
commands:
- go test ./...
- sh scripts/build.sh
Expand All @@ -27,7 +27,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/plugin'
environment:
Expand All @@ -38,7 +38,7 @@ steps:
- tag

- name: build-tag
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/plugin'
environment:
Expand Down Expand Up @@ -85,7 +85,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/plugin'
environment:
Expand All @@ -96,7 +96,7 @@ steps:
- tag

- name: build-tag
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/plugin'
environment:
Expand Down Expand Up @@ -143,7 +143,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin'
environment:
Expand All @@ -153,7 +153,7 @@ steps:
exclude:
- tag
- name: build-tag
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin'
environment:
Expand Down Expand Up @@ -199,7 +199,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin'
environment:
Expand All @@ -209,7 +209,7 @@ steps:
exclude:
- tag
- name: build-tag
image: golang:1.21
image: golang:1.22
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/plugin'
environment:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/drone/drone-artifactory

go 1.21
go 1.22

require (
github.com/kelseyhightower/envconfig v1.4.0
Expand Down

0 comments on commit 799284f

Please sign in to comment.