Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: v4.0.0 #915

Merged
merged 15 commits into from
Jan 1, 2024
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
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ linters-settings:
gofumpt:
extra-rules: true
gocyclo:
min-complexity: 20
min-complexity: 25
30 changes: 17 additions & 13 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,20 @@ changelog:
regexp: "^.*chore(deps):+.*$"
order: 3

dockers:
- dockerfile: Dockerfile.goreleaser
image_templates:
- "ghcr.io/envelope-zero/backend:{{ .Tag }}"
- "ghcr.io/envelope-zero/backend:v{{ .Major }}"
- "ghcr.io/envelope-zero/backend:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/envelope-zero/backend:latest"

build_flag_templates:
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.version={{.Version}}"
kos:
- repository: ghcr.io/envelope-zero/backend
tags:
- "{{ .Tag }}" # v{{ .Major}}.{{ .Minor }}.{{ .Patch }}
- "v{{ .Major }}"
- "v{{ .Major }}.{{ .Minor }}"
- latest
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
- linux/arm64
labels:
org.opencontainers.image.created: "{{.Date}}"
org.opencontainers.image.revision: "{{.FullCommit}}"
org.opencontainers.image.title: "{{.ProjectName}}"
org.opencontainers.image.version: "{{.Version}}"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ persistence:
enabled: true
mountPath: /data

podSecurityContext:
fsGroup: 65532

affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
Loading