File tree Expand file tree Collapse file tree 5 files changed +33
-0
lines changed Expand file tree Collapse file tree 5 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Reproducible build
2+ on :
3+ workflow_dispatch :
4+ jobs :
5+ build :
6+ name : Build and attest
7+ runs-on : ubuntu-latest
8+ permissions :
9+ id-token : write
10+ contents : read
11+ attestations : write
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+ - name : Checkout submodules
16+ run : git submodule update --init --recursive
17+ - name : Set up Docker Buildx
18+ uses : docker/setup-buildx-action@v1
19+ - name : Build taglib.wasm
20+ run : |
21+ rm taglib.wasm
22+ ./build/build-docker.sh
23+ - name : Attest build provenance
24+ uses : actions/attest-build-provenance@v3
25+ with :
26+ subject-path : |
27+ taglib.wasm
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ This project is a Go library for reading and writing audio metadata tags. By pac
44
55Current bundled TagLib version is [ v2.1.1] ( https://github.com/taglib/taglib/releases/tag/v2.1.1 ) .
66
7+ To reproduce or verify the bundled binary, see the [ attestations] ( https://github.com/sentriz/go-taglib/attestations/ ) .
8+
79[ ![ godoc] ( https://img.shields.io/badge/pkg.go.dev-doc-blue )] ( http://pkg.go.dev/go.senan.xyz/taglib )
810
911## Features
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
3+ set -e
4+
35image=" go-taglib-build"
46
57docker build -t " $image " " ./build"
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
3+ set -e
4+
35wasi_loc=" $1 "
46if [ -z " $wasi_loc " ]; then
57 echo " please provide <wasi loc>" >&2
You can’t perform that action at this time.
0 commit comments