Fix #221 by bumping Go. (#223)

* Fix #221 by bumping Go.

* CI: use golang:latest instead of GoReleaser's container image

* Add Go linker flag (-B gobuildid) to generate UUID.

---------

Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
This commit is contained in:
Tim Peeters
2024-11-20 14:02:39 +04:00
committed by GitHub
co-authored by Nikolay Edigaryev
parent 772336a7bd
commit 4c63cea062
4 changed files with 14 additions and 5 deletions
+5 -1
View File
@@ -1,4 +1,8 @@
FROM goreleaser/goreleaser-pro:latest as builder
FROM golang:latest as builder
# Install GoReleaser Pro
RUN echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
RUN apt update && apt -y install goreleaser-pro
WORKDIR /tmp/orchard
ADD . /tmp/orchard/