Skip to content

Commit

Permalink
Update golang Docker tag to v1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Feb 7, 2024
1 parent 93070f7 commit 38cf293
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform:

steps:
- name: vet
image: golang:1.21
image: golang:1.22
commands:
- go vet ./...
environment:
Expand All @@ -18,7 +18,7 @@ steps:
path: /go

- name: test
image: golang:1.21
image: golang:1.22
commands:
- echo "ignore test"
# - go test -cover ./...
Expand Down Expand Up @@ -48,7 +48,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -60,7 +60,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}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -71,7 +71,7 @@ steps:
- tag

- name: executable
image: golang:1.21
image: golang:1.22
commands:
- ./release/linux/amd64/drone-docker --help

Expand Down Expand Up @@ -139,7 +139,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr"
environment:
Expand All @@ -151,7 +151,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}\" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr"
environment:
Expand Down Expand Up @@ -224,7 +224,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr"
environment:
Expand All @@ -236,7 +236,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}\" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr"
environment:
Expand Down Expand Up @@ -310,7 +310,7 @@ platform:

steps:
- name: build-push
image: golang:1.21
image: golang:1.22
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku"
environment:
Expand All @@ -322,7 +322,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}\" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku"
environment:
Expand Down Expand Up @@ -395,7 +395,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 -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr"
environment:
Expand All @@ -407,7 +407,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 -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr"
environment:
Expand Down

0 comments on commit 38cf293

Please sign in to comment.