From 154e3e4587a8fc6bcc698cd2c0e007a568583e2f Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 5 Nov 2024 15:03:14 +0100 Subject: [PATCH] fix: upgrade xgo docker image everywhere (cherry picked from commit d6194b8f1003e1e85708db7b0f9502a875292b80) --- .drone.yml | 12 ++++++------ Dockerfile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0254ab1c9..355574857 100644 --- a/.drone.yml +++ b/.drone.yml @@ -580,7 +580,7 @@ steps: event: [ push, tag, pull_request ] - name: before-static-build - image: techknowlogick/xgo:go-1.22.x + image: techknowlogick/xgo:go-1.23.x pull: always commands: - export PATH=$PATH:$GOPATH/bin @@ -589,7 +589,7 @@ steps: depends_on: [ fetch-tags, mage ] - name: static-build-windows - image: techknowlogick/xgo:go-1.22.x + image: techknowlogick/xgo:go-1.23.x pull: always environment: # This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why. @@ -605,7 +605,7 @@ steps: - frontend-build - name: static-build-linux - image: techknowlogick/xgo:go-1.22.x + image: techknowlogick/xgo:go-1.23.x pull: always environment: # This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why. @@ -621,7 +621,7 @@ steps: - frontend-build - name: static-build-darwin - image: techknowlogick/xgo:go-1.22.x + image: techknowlogick/xgo:go-1.23.x pull: always environment: # This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why. @@ -647,7 +647,7 @@ steps: - ./mage-static release:compress - name: after-build-static - image: techknowlogick/xgo:go-1.22.x + image: techknowlogick/xgo:go-1.23.x pull: always depends_on: - after-build-compress @@ -1352,6 +1352,6 @@ steps: - failure --- kind: signature -hmac: 75759b487ff5f815f3ca3d77e824f7d1d70a9c07d03967f62a00217f421a81d0 +hmac: 14968b058e6d28fa78d2329672bb46b401822543171ca4bf524ec5f7ed7fa443 ... diff --git a/Dockerfile b/Dockerfile index 9760b0310..756f02d9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN corepack enable && \ pnpm install && \ pnpm run build -FROM --platform=$BUILDPLATFORM techknowlogick/xgo:go-1.22.x AS apibuilder +FROM --platform=$BUILDPLATFORM techknowlogick/xgo:go-1.23.x AS apibuilder RUN go install github.com/magefile/mage@latest && \ mv /go/bin/mage /usr/local/go/bin