# SPDX-FileCopyrightText: 2026 Authelia # # SPDX-License-Identifier: Apache-2.0 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json --- version: 2 project_name: authelia dist: goreleaser before: hooks: - | bash -c 'cat > postinstall.sh < description: | Authelia is an open-source authentication and authorization server and portal fulfilling the identity and access management (IAM) role of information security in providing multi-factor authentication and single sign-on (SSO) for your applications via a web portal. Authelia is an OpenID Connect 1.0 Provider which is OpenID Certified™ allowing comprehensive integrations and acts as a companion for common reverse proxies. license: Apache-2.0 provides: - authelia release: 1 section: default priority: extra contents: - src: config.template.yml dst: /etc/authelia/configuration.yml type: config|noreplace file_info: mode: 0440 # yamllint disable-line rule:octal-values - src: authelia.service dst: /usr/lib/systemd/system/authelia.service - src: authelia@.service dst: /usr/lib/systemd/system/authelia@.service - src: authelia.sysusers.conf dst: /usr/lib/sysusers.d/authelia.conf - src: authelia.tmpfiles.conf dst: /usr/lib/tmpfiles.d/authelia.conf - src: authelia.tmpfiles.config.conf dst: /usr/lib/tmpfiles.d/authelia-config.conf scripts: postinstall: postinstall.sh deb: signature: key_file: '{{ .Env.GPG_KEY_PATH }}' sboms: - id: cdx-backend ids: [linux-glibc, linux-musl, freebsd] documents: - "${artifact}.cdx.json" args: ["$artifact", "-o", "cyclonedx-json=$document"] disable: false - id: spdx-backend ids: [linux-glibc, linux-musl, freebsd] documents: - "${artifact}.spdx.json" args: ["$artifact", "-o", "spdx-json=$document"] disable: false - id: cdx-frontend ids: [public_html] documents: - "${artifact}.cdx.json" args: ["../web", "--source-name", "$artifact", "-o", "cyclonedx-json=$document"] disable: false - id: spdx-frontend ids: [public_html] documents: - "${artifact}.spdx.json" args: ["../web", "--source-name", "$artifact", "-o", "spdx-json=$document"] disable: false signs: - id: gpg signature: '${artifact}.sig' args: [ "--batch", "--pinentry-mode", "loopback", "-u", "security@authelia.com", "--passphrase", "{{ .Env.GPG_PASSWORD }}", "--output", "${signature}", "--detach-sign", "${artifact}", ] artifacts: checksum checksum: name_template: 'checksums.sha256' ...