Skip to content

Commit 79c72d7

Browse files
committed
Push image to gar
1 parent 9f4dbee commit 79c72d7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.drone.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ platform:
4545

4646
steps:
4747
- name: go build
48-
image: golang:1.17
48+
image: golang:1.19
4949
environment:
5050
CGO_ENABLED: 0
5151
commands:
@@ -87,7 +87,7 @@ platform:
8787

8888
steps:
8989
- name: go build
90-
image: golang:1.17
90+
image: golang:1.19
9191
environment:
9292
CGO_ENABLED: 0
9393
commands:
@@ -130,7 +130,7 @@ platform:
130130

131131
steps:
132132
- name: build-push
133-
image: golang:1.17
133+
image: golang:1.19
134134
commands:
135135
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/drone-gar ./cmd/drone-gar'
136136
environment:
@@ -140,7 +140,7 @@ steps:
140140
exclude:
141141
- tag
142142
- name: build-tag
143-
image: golang:1.17
143+
image: golang:1.19
144144
commands:
145145
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/drone-gar ./cmd/drone-gar'
146146
environment:
@@ -188,7 +188,7 @@ platform:
188188

189189
steps:
190190
- name: build-push
191-
image: golang:1.17
191+
image: golang:1.19
192192
commands:
193193
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/drone-gar ./cmd/drone-gar'
194194
environment:
@@ -199,7 +199,7 @@ steps:
199199
- tag
200200

201201
- name: build-tag
202-
image: golang:1.17
202+
image: golang:1.19
203203
commands:
204204
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/drone-gar ./cmd/drone-gar'
205205
environment:

0 commit comments

Comments
 (0)