version: 2 # NOTE: Charon uses a Docker-only deployment model. # This GoReleaser configuration is used exclusively for changelog generation. # The builds, archives, and nfpms sections below are kept for potential # future use but are not currently utilized in the release workflow. # All distribution happens via Docker images: # - Docker Hub: docker pull wikid82/charon:latest # - GHCR: docker pull ghcr.io/wikid82/charon:latest project_name: charon builds: - id: linux dir: backend main: ./cmd/api binary: charon env: - CGO_ENABLED=0 goos: - linux goarch: - amd64 - arm64 ldflags: - -s -w - -X github.com/Wikid82/charon/backend/internal/version.Version={{.Version}} - -X github.com/Wikid82/charon/backend/internal/version.GitCommit={{.Commit}} - -X github.com/Wikid82/charon/backend/internal/version.BuildTime={{.Date}} archives: - formats: - tar.gz id: linux ids: - linux name_template: >- {{ .ProjectName }}_ {{- .Version }}_ {{- .Os }}_ {{- .Arch }} files: - LICENSE - README.md nfpms: - id: packages ids: - linux package_name: charon vendor: Charon homepage: https://github.com/Wikid82/charon maintainer: Wikid82 description: "Charon - A powerful reverse proxy manager" license: MIT formats: - deb - rpm contents: - src: ./backend/data/ dst: /var/lib/charon/data/ type: dir - src: ./frontend/dist/ dst: /usr/share/charon/frontend/ type: dir dependencies: - libc6 - ca-certificates checksum: name_template: 'checksums.txt' snapshot: version_template: "{{ .Tag }}-next" changelog: sort: asc filters: exclude: - '^docs:' - '^test:'