Skip to content

Commit

Permalink
don't check binary reproducibility for now, requires upstream changes…
Browse files Browse the repository at this point in the history
… with Go to work
  • Loading branch information
capnspacehook committed Oct 27, 2022
1 parent ab8ae3d commit 44346d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,6 @@ jobs:
version: latest
args: release

- run: |
REPO="${{ github.repository }}"
REPO_NAME="${REPO#*/}"
cp "dist/${REPO_NAME}_linux_amd64_v1/${REPO_NAME}" released-binary
- uses: actions/upload-artifact@v3
with:
name: released-binary
path: ./released-binary

reproduce-binary:
runs-on: ubuntu-latest
needs: release-binary
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}.x
check-latest: true
cache: true

- uses: actions/download-artifact@v3
with:
name: released-binary

- run: |
go install github.com/capnspacehook/gorepro@latest
gorepro -b=-buildmode=pie -no-go-gc released-binary
release-image:
runs-on: ubuntu-latest
permissions:
Expand Down
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ builds:
- amd64
flags:
- -buildmode=pie
- -buildvcs=true
- -trimpath
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
Expand Down

0 comments on commit 44346d0

Please sign in to comment.