fix: pin xgo to 1.22.x
Some checks failed
continuous-integration/drone/push Build is failing

Hopefully resolves build issues like https://drone.kolaente.de/vikunja/vikunja/8996/3/10
This commit is contained in:
kolaente 2024-11-02 19:00:02 +01:00
parent 3f62c013ba
commit de1eac5d36
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 7 additions and 7 deletions

View File

@ -626,7 +626,7 @@ steps:
depends_on: [ generate-config-yaml ]
- name: before-static-build
image: techknowlogick/xgo:latest
image: techknowlogick/xgo:go-1.22.x
pull: always
commands:
- export PATH=$PATH:$GOPATH/bin
@ -635,7 +635,7 @@ steps:
depends_on: [ fetch-tags, mage ]
- name: static-build-windows
image: techknowlogick/xgo:latest
image: techknowlogick/xgo:go-1.22.x
pull: always
environment:
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
@ -651,7 +651,7 @@ steps:
- frontend-build
- name: static-build-linux
image: techknowlogick/xgo:latest
image: techknowlogick/xgo:go-1.22.x
pull: always
environment:
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
@ -667,7 +667,7 @@ steps:
- frontend-build
- name: static-build-darwin
image: techknowlogick/xgo:latest
image: techknowlogick/xgo:go-1.22.x
pull: always
environment:
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
@ -693,7 +693,7 @@ steps:
- ./mage-static release:compress
- name: after-build-static
image: techknowlogick/xgo:latest
image: techknowlogick/xgo:go-1.22.x
pull: always
depends_on:
- after-build-compress
@ -1400,6 +1400,6 @@ steps:
- failure
---
kind: signature
hmac: beadda6de8c397224c60fcac921a2883983383ac564c3a6c7e6d4bf5901112bd
hmac: 75759b487ff5f815f3ca3d77e824f7d1d70a9c07d03967f62a00217f421a81d0
...

View File

@ -13,7 +13,7 @@ RUN corepack enable && \
pnpm install && \
pnpm run build
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:go-1.21.x AS apibuilder
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:go-1.22.x AS apibuilder
RUN go install github.com/magefile/mage@latest && \
mv /go/bin/mage /usr/local/go/bin