From b66c1670749c06f8d18f96bcbc5a6b80f7a7108e Mon Sep 17 00:00:00 2001 From: Dustin Decker Date: Thu, 17 Oct 2024 09:12:46 -0700 Subject: [PATCH] Revert "Compress release with UPX (#3445)" (#3455) This reverts commit c46d52b11acd43a58ca46d4e13bd19bdd3006c8d. --- .github/workflows/release.yml | 4 ---- .goreleaser.yml | 3 --- 2 files changed, 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db77574b4de1..33c86fd6a8b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,10 +39,6 @@ jobs: go-version: "1.23" - name: Cosign install uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0 - - name: Install UPX - run: | - sudo apt-get update - sudo apt-get install -y upx - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index 6fca8511fdc0..77bc73d8cf0a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,9 +11,6 @@ builds: goarch: - amd64 - arm64 - hooks: - post: - - bash -c 'if [ "{{ .Env.GGOOS }}" != "darwin" ]; then upx -q "{{ .Path }}"; fi' dockers: - image_templates: ["trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64"] dockerfile: Dockerfile.goreleaser