Skip to content

Commit

Permalink
🤖 Fixup goreleaser build, drop windows builds for the agent
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Aug 17, 2022
1 parent 15d70db commit 91bbe78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- windows
goarch:
- amd64
- arm64
- 386
main: ./cmd/agent/
id: "c3os-agent"
Expand Down
6 changes: 3 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ build:
dist:
ARG GO_VERSION
FROM golang:$GO_VERSION
RUN echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
RUN apt update
RUN apt install -y goreleaser
RUN curl https://luet.io/install.sh | sh
RUN luet install -y repository/mocaccino-extra
RUN luet install -y utils/goreleaser
WORKDIR /build
COPY . .
RUN goreleaser build --rm-dist --skip-validate --snapshot
Expand Down

0 comments on commit 91bbe78

Please sign in to comment.