Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: goreleaser/goreleaser-action@v7
if: startsWith(github.ref, 'refs/tags/')
with:
version: v2.1.0
version: v2.17.0
args: "release --clean"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -36,7 +36,7 @@ jobs:
uses: goreleaser/goreleaser-action@v7
if: startsWith(github.ref, 'refs/pull/')
with:
version: v2.1.0
version: v2.17.0
args: "release --clean --snapshot"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 21 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- id: acme-dns
env:
- CGO_ENABLED=0
goos:
- linux
Expand All @@ -20,10 +22,27 @@ builds:
goos:
- linux
- darwin
archives:
- id: acme-dns
ids:
- acme-dns
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
- id: acme-dns-mcp
ids:
- acme-dns-mcp
name_template: >-
acme-dns-mcp_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ See the INSTALL section for information on how to do this.
2. Create directories: `config` for the configuration file, and `data` for the sqlite3 database.
3. Copy [configuration template](https://raw.githubusercontent.com/zpascal/acme-dns/master/config.cfg) to `config/config.cfg`.
4. Modify the `config.cfg` to suit your needs.
5. Run Docker, this example expects that you have `port = "80"` in your `config.cfg`:
5. Run Docker. This example expects that you have `port = "80"` in your `config.cfg`:

```bash
docker run --rm --name acmedns \
Expand Down
Loading