Skip to content

Commit 7f5c4f6

Browse files
feat: [CI-16559]: golang version up to 1.23 and docker base image up
1 parent 702b6f9 commit 7f5c4f6

File tree

10 files changed

+95
-10
lines changed

10 files changed

+95
-10
lines changed

.drone.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ platform:
1212

1313
steps:
1414
- name: vet
15-
image: golang:1.22
15+
image: golang:1.23
1616
commands:
1717
- go vet ./...
1818
environment:
@@ -45,7 +45,7 @@ platform:
4545

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

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

131131
steps:
132132
- name: build-push
133-
image: golang:1.22
133+
image: golang:1.23
134134
commands:
135135
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/buildx-acr ./cmd/drone-buildx-acr'
136136
environment:
@@ -140,7 +140,7 @@ steps:
140140
exclude:
141141
- tag
142142
- name: build-tag
143-
image: golang:1.22
143+
image: golang:1.23
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/buildx-acr ./cmd/drone-buildx-acr'
146146
environment:
@@ -188,7 +188,7 @@ platform:
188188

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

201201
- name: build-tag
202-
image: golang:1.22
202+
image: golang:1.23
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/buildx-acr ./cmd/drone-buildx-acr'
205205
environment:
@@ -279,7 +279,7 @@ pool:
279279
steps:
280280
- name: build
281281
pull: always
282-
image: golang:1.22
282+
image: golang:1.23
283283
commands:
284284
- GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-acr-linux-amd64 ./cmd/drone-buildx-acr
285285
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-acr-linux-arm64 ./cmd/drone-buildx-acr

.idea/checkstyle-idea.xml

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/drone-buildx-acr.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 41 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker/acr/Dockerfile.linux.amd64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM plugins/buildx:linux-amd64
1+
FROM ebtasamfaridy/plugins-buildx:3
22

33
ADD release/linux/amd64/buildx-acr /bin/
44
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/buildx-acr"]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/drone-plugins/drone-buildx-acr
22

3-
go 1.22
3+
go 1.23
44

55
toolchain go1.22.0
66

release/linux/amd64/buildx-acr

14.6 MB
Binary file not shown.

0 commit comments

Comments
 (0)