Skip to content

Commit

Permalink
Update go version to 1.19(#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-harness authored May 23, 2023
1 parent 3019c7c commit 8d34732
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,15 @@ platform:
steps:
- name: build-push
pull: always
image: golang:1.18
image: golang:1.19
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/drone-cache'
environment:
CGO_ENABLED: 0
GO111MODULE: on
- name: build-tag
pull: always
image: golang:1.18
image: golang:1.19
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/amd64/drone-cache'
environment:
Expand Down Expand Up @@ -318,15 +318,15 @@ platform:
steps:
- name: build-push
pull: always
image: golang:1.18
image: golang:1.19
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/drone-cache'
environment:
CGO_ENABLED: 0
GO111MODULE: on
- name: build-tag
pull: always
image: golang:1.18
image: golang:1.19
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm64/drone-cache'
environment:
Expand Down

0 comments on commit 8d34732

Please sign in to comment.