A container registry that uses the AT Protocol for manifest storage and S3 for blob storage.
atcr.io
docker
container
atproto
go
1# GoReleaser configuration for ATCR
2# See https://goreleaser.com for documentation
3
4version: 2
5
6before:
7 hooks:
8 - go mod tidy
9 - go generate ./...
10
11builds:
12 # Credential helper - cross-platform native binary distribution
13 - id: credential-helper
14 binary: docker-credential-atcr
15 main: ./cmd/credential-helper
16 env:
17 - CGO_ENABLED=0
18 goos:
19 - linux
20 - darwin
21 - windows
22 goarch:
23 - amd64
24 - arm64
25 ldflags:
26 - -s -w
27 - -X main.version={{.Version}}
28 - -X main.commit={{.Commit}}
29 - -X main.date={{.Date}}
30
31archives:
32 - id: credential-helper
33 name_template: >-
34 docker-credential-atcr_
35 {{- .Version }}_
36 {{- title .Os }}_
37 {{- if eq .Arch "amd64" }}x86_64
38 {{- else if eq .Arch "386" }}i386
39 {{- else }}{{ .Arch }}{{ end }}
40 files:
41 - LICENSE*
42 - README*
43 - INSTALLATION*
44
45checksum:
46 name_template: 'checksums.txt'
47
48snapshot:
49 version_template: "{{ incpatch .Version }}-next"
50
51changelog:
52 sort: asc
53 filters:
54 exclude:
55 - '^docs:'
56 - '^test:'
57 - '^chore:'
58 - Merge pull request
59 - Merge branch
60
61publishers:
62 - name: atproto-pds
63 cmd: ./scripts/publish-artifact.sh
64 env:
65 - APP_PASSWORD={{ .Env.APP_PASSWORD }}
66 - REPO_URL={{ .Env.REPO_URL }}
67 - TAG={{ .Tag }}
68 - ARTIFACT_PATH={{ abs .ArtifactPath }}
69 - ARTIFACT_NAME={{ .ArtifactName }}
70
71# Disable since not using GitHub
72release:
73 disable: true