File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,15 +28,21 @@ task:
2828 GORELEASER_KEY : ENCRYPTED[!9b80b6ef684ceaf40edd4c7af93014ee156c8aba7e6e5795f41c482729887b5c31f36b651491d790f1f668670888d9fd!]
2929 FURY_TOKEN : ENCRYPTED[!97fe4497d9aca60a3d64904883b81e21f19706c6aedda625c97f62f67ec46b8efa74c55699956158bbf0a23726e7d9f6!]
3030 container :
31- image : goreleaser/goreleaser-pro :latest
31+ image : golang :latest
3232 cpu : 4
3333 memory : 12G
3434 matrix :
3535 - name : Release Binaries
3636 only_if : $CIRRUS_TAG != ''
37+ install_goreleaser_script :
38+ - echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
39+ - apt update && apt -y install goreleaser-pro
3740 release_script : goreleaser
3841 - name : Release Binaries (Dry Run)
3942 only_if : $CIRRUS_TAG == ''
43+ install_goreleaser_script :
44+ - echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
45+ - apt update && apt -y install goreleaser-pro
4046 release_script : goreleaser release --skip=publish --snapshot --clean --verbose
4147 binaries_artifacts :
4248 path : " dist/orchard_*/orchard*"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ builds:
1010 ldflags : >
1111 -X github.com/cirruslabs/orchard/internal/version.Version={{.Version}}
1212 -X github.com/cirruslabs/orchard/internal/version.Commit={{.ShortCommit}}
13+ -B gobuildid
1314 env :
1415 - CGO_ENABLED=0
1516 goos :
Original file line number Diff line number Diff line change 1- FROM goreleaser/goreleaser-pro:latest as builder
1+ FROM golang:latest as builder
2+
3+ # Install GoReleaser Pro
4+ RUN echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
5+ RUN apt update && apt -y install goreleaser-pro
26
37WORKDIR /tmp/orchard
48ADD . /tmp/orchard/
Original file line number Diff line number Diff line change 11module github.com/cirruslabs/orchard
22
3- go 1.21
4-
5- toolchain go1.22.4
3+ go 1.23.3
64
75require (
86 github.com/avast/retry-go v3.0.0+incompatible
You can’t perform that action at this time.
0 commit comments