Skip to content

Commit

Permalink
Merge pull request #100 from raghavharness/CI-4681/golang-upgrade
Browse files Browse the repository at this point in the history
golang image upgrade to 1.18
  • Loading branch information
eoinmcafee00 authored Jul 7, 2022
2 parents 45ef29a + d005551 commit 3ee1b62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ platform:
steps:
- name: vet
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- go vet ./...
environment:
GO111MODULE: on

- name: test
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- go test -cover ./...
environment:
Expand All @@ -38,7 +38,7 @@ platform:
steps:
- name: build-push
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -o release/linux/amd64/drone-s3"
environment:
Expand All @@ -51,7 +51,7 @@ steps:

- name: build-tag
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -o release/linux/amd64/drone-s3"
environment:
Expand All @@ -63,7 +63,7 @@ steps:

- name: executable
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- ./release/linux/amd64/drone-s3 --help

Expand Down Expand Up @@ -102,7 +102,7 @@ platform:
steps:
- name: build-push
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -o release/linux/arm64/drone-s3"
environment:
Expand All @@ -115,7 +115,7 @@ steps:

- name: build-tag
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -o release/linux/arm64/drone-s3"
environment:
Expand All @@ -127,7 +127,7 @@ steps:

- name: executable
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- ./release/linux/arm64/drone-s3 --help

Expand Down Expand Up @@ -166,7 +166,7 @@ platform:
steps:
- name: build-push
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -o release/linux/arm/drone-s3"
environment:
Expand All @@ -179,7 +179,7 @@ steps:

- name: build-tag
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -o release/linux/arm/drone-s3"
environment:
Expand All @@ -191,7 +191,7 @@ steps:

- name: executable
pull: always
image: golang:1.17.8
image: golang:1.18
commands:
- ./release/linux/arm/drone-s3 --help

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-plugins/drone-s3

go 1.17
go 1.18

require (
github.com/aws/aws-sdk-go v1.44.47
Expand Down

0 comments on commit 3ee1b62

Please sign in to comment.