File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 with :
3131 cosign-release : ' v2.2.4'
3232
33+ # Setup QEMU to be able to build images for multiple platforms
34+ - name : Set up QEMU
35+ uses : docker/setup-qemu-action@v3
36+
3337 # Set up BuildKit Docker container builder to be able to build
3438 # multi-platform images and export cache
3539 - name : Set up Docker Buildx
5761 uses : docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
5862 with :
5963 context : .
64+ platforms : linux/amd64,linux/arm64
6065 push : ${{ github.event_name != 'pull_request' }}
6166 tags : ${{ steps.meta.outputs.tags }}
6267 labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 11FROM alpine:3.20 AS build
22
3- RUN apk -U --no-cache add go alsa-lib-dev libogg-dev libvorbis-dev
3+ RUN apk -U --no-cache add go alsa-lib-dev libogg-dev libvorbis-dev gcc musl-dev
44
55WORKDIR /src
66
77COPY go.mod go.sum ./
88RUN go mod download
99
1010COPY . .
11- RUN go build -v ./cmd/daemon
11+ RUN CGO_ENABLED=1 go build -v ./cmd/daemon
1212
1313FROM alpine:3.20
1414
You can’t perform that action at this time.
0 commit comments