Skip to content

Commit

Permalink
Merge pull request #61 from harness/CI-13178_go-upgrade_minor
Browse files Browse the repository at this point in the history
fix: [CI-13178]: Upgraded go with minor version to 1.22.4
  • Loading branch information
HenAmar authored Jul 10, 2024
2 parents 48e69f2 + a19fe03 commit cca9b0b
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.22
image: golang:1.22.4
commands:
- go test ./...
- sh scripts/build.sh
Expand All @@ -27,7 +27,7 @@ platform:

steps:
- name: build-push
image: golang:1.22
image: golang:1.22.4
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.22
image: golang:1.22.4
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.22
image: golang:1.22.4
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.22
image: golang:1.22.4
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.22
image: golang:1.22.4
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.22
image: golang:1.22.4
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.22
image: golang:1.22.4
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.22
image: golang:1.22.4
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.22
go 1.22.4

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

0 comments on commit cca9b0b

Please sign in to comment.