forked from vikunja/vikunja
fix(build): downgrade xgo to 1.19.2 so that builds work again
See https://github.com/techknowlogick/xgo/issues/187
This commit is contained in:
parent
1f2eb57602
commit
941d1e06c5
12
.drone.yml
12
.drone.yml
@ -377,7 +377,7 @@ steps:
|
||||
event: [ push, tag, pull_request ]
|
||||
|
||||
- name: before-static-build
|
||||
image: techknowlogick/xgo:latest
|
||||
image: techknowlogick/xgo:go-1.19.2
|
||||
pull: true
|
||||
commands:
|
||||
- export PATH=$PATH:$GOPATH/bin
|
||||
@ -386,7 +386,7 @@ steps:
|
||||
depends_on: [ fetch-tags, mage ]
|
||||
|
||||
- name: static-build-windows
|
||||
image: techknowlogick/xgo:latest
|
||||
image: techknowlogick/xgo:go-1.19.2
|
||||
pull: true
|
||||
environment:
|
||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||
@ -399,7 +399,7 @@ steps:
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: static-build-linux
|
||||
image: techknowlogick/xgo:latest
|
||||
image: techknowlogick/xgo:go-1.19.2
|
||||
pull: true
|
||||
environment:
|
||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||
@ -412,7 +412,7 @@ steps:
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: static-build-darwin
|
||||
image: techknowlogick/xgo:latest
|
||||
image: techknowlogick/xgo:go-1.19.2
|
||||
pull: true
|
||||
environment:
|
||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||
@ -435,7 +435,7 @@ steps:
|
||||
- ./mage-static release:compress
|
||||
|
||||
- name: after-build-static
|
||||
image: techknowlogick/xgo:latest
|
||||
image: techknowlogick/xgo:go-1.19.2
|
||||
pull: true
|
||||
depends_on:
|
||||
- after-build-compress
|
||||
@ -719,6 +719,6 @@ steps:
|
||||
- failure
|
||||
---
|
||||
kind: signature
|
||||
hmac: 768d54fc8433705fb63f754adf19536a16152a4046a040afdbcbb7df60614056
|
||||
hmac: 4bd42cd21b4861300b8fdc2fc130e3da23e6008fbea996efcf03dc92bf43b063
|
||||
|
||||
...
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
##############
|
||||
# Build stage
|
||||
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:latest AS build-env
|
||||
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:go-1.19.2 AS build-env
|
||||
|
||||
RUN \
|
||||
go install github.com/magefile/mage@latest && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user