Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ builds:
id: publiccode-parser
binary: publiccode-parser
main: ./publiccode-parser/publiccode_parser.go
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{.Version}} -X main.date={{.Date}}
- -s -w -buildid= -X main.version={{.Version}} -X main.date={{.CommitDate}}
env:
- CGO_ENABLED=0
- SOURCE_DATE_EPOCH={{.CommitTimestamp}}
goos:
- linux
- darwin
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is the Docker image that gets published to DockerHub.
# Goreleaser takes care of building the binary.
#
FROM alpine:3
FROM alpine:3.23.4@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11

COPY publiccode-parser /usr/local/bin/publiccode-parser

Expand Down
Loading