Skip to content

Commit

Permalink
build(goreleaser): update ldflags and changelog filters
Browse files Browse the repository at this point in the history
  • Loading branch information
fyvri committed Dec 19, 2024
1 parent ae0917e commit b82d480
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions deployments/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ FROM scratch
# Copy compiled binary into the container
COPY go-qris /go-qris

# Expose port to the outside world
EXPOSE 1337

# Set default command to run application
ENTRYPOINT ["/go-qris","run"]
9 changes: 4 additions & 5 deletions deployments/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ builds:
main: ./cmd/main.go
flags: -trimpath
ldflags:
- -extldflags=-static
- -s -w
- -X {{ .ModulePath }}/internal/config.Version={{ .Version }}
- -extldflags=-static
mod_timestamp: "{{ .CommitTimestamp }}"
goos:
- linux
Expand Down Expand Up @@ -65,9 +64,9 @@ changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^docs"
- "^test"
- "^ci"
- "^README"
- "^Update"
- Merge pull request
Expand Down

0 comments on commit b82d480

Please sign in to comment.