mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-16 18:09:47 +03:00
* CI revamped and other enhancements GoReleaser for multi-arch binaries Switch to GitHub Actions (more versatile) with 2 workflows Docker multi-manifest image with buildx Fix eslint run script Go sum fixer Use tools.go paradigm for external dependencies (packr) Use go generate for packr * Update workflows * Add Slack notification * Rebase * Enhanced Dockerfile * Fix go generate * Fix Golangci lint * Fix npm cache with v2 cache action * Fix Dockerfile * Trigger notif * Issue with packr * s390x platform not supported by packr * Enhance layers * Fix go modules Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
74 lines
1.7 KiB
YAML
74 lines
1.7 KiB
YAML
env:
|
|
- GO111MODULE=on
|
|
- GOPROXY=https://goproxy.io
|
|
|
|
before:
|
|
hooks:
|
|
- go mod download
|
|
- go generate ./...
|
|
|
|
builds:
|
|
-
|
|
main: ./main.go
|
|
ldflags:
|
|
- -s -w -X main.version={{.Version}} -X main.channel={{.Env.CHANNEL}} -X main.goarm={{.Env.GOARM}}
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- freebsd
|
|
- windows
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
goarm:
|
|
- 6
|
|
- 7
|
|
ignore:
|
|
- goos: freebsd
|
|
goarch: arm
|
|
- goos: freebsd
|
|
goarch: arm64
|
|
|
|
archives:
|
|
-
|
|
replacements:
|
|
386: i386
|
|
amd64: x86_64
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- LICENSE.txt
|
|
- README.md
|
|
|
|
snapcrafts:
|
|
-
|
|
name: adguard-home
|
|
base: core18
|
|
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
summary: Network-wide ads & trackers blocking DNS server
|
|
description: |
|
|
AdGuard Home is a network-wide software for blocking ads & tracking. After
|
|
you set it up, it'll cover ALL your home devices, and you don't need any
|
|
client-side software for that.
|
|
|
|
It operates as a DNS server that re-routes tracking domains to a "black hole,"
|
|
thus preventing your devices from connecting to those servers. It's based
|
|
on software we use for our public AdGuard DNS servers -- both share a lot
|
|
of common code.
|
|
grade: stable
|
|
confinement: strict
|
|
publish: true
|
|
license: GPL-3.0
|
|
apps:
|
|
adguard-home:
|
|
args: -w ${SNAP_DATA} --no-check-update
|
|
plugs: [ network-bind ]
|
|
daemon: simple
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|