diff --git a/.goreleaser.yml b/.goreleaser.yml index 56286cb8..09fff1d9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,26 +26,17 @@ builds: - amd64 - arm64 - "386" - - arm - goarm: - - "7" ignore: - goos: darwin goarch: "386" - - goos: darwin - goarch: arm - goos: freebsd goarch: arm64 - goos: freebsd goarch: "386" - - goos: freebsd - goarch: arm - goos: windows goarch: arm64 - goos: windows goarch: "386" - - goos: windows - goarch: arm ldflags: - -s -w -X main.revision={{ .Tag }}-{{ .ShortCommit }}-{{ trimsuffix (replace (replace .CommitDate "-" "") ":" "") "Z" }} diff --git a/Makefile b/Makefile index f3d6e524..51fcacb6 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ docker: dockerx: docker buildx build --build-arg GITHUB_REF=$(GITHUB_REF) --build-arg GITHUB_SHA=$(GITHUB_SHA) --build-arg CI=true \ --build-arg SKIP_FRONTEND_TEST=true --build-arg SKIP_BACKEND_TEST=true \ - --progress=plain --platform linux/amd64,linux/arm/v7,linux/arm64 \ + --progress=plain --platform linux/amd64,linux/arm64 \ -t ghcr.io/umputun/remark42:master -t umputun/remark42:master . release: diff --git a/backend/.golangci.yml b/backend/.golangci.yml index b99ab2c4..ae5f84e1 100644 --- a/backend/.golangci.yml +++ b/backend/.golangci.yml @@ -20,9 +20,6 @@ linters: - unparam - unused settings: - goconst: - min-len: 2 - min-occurrences: 2 gosec: excludes: - G117 # false positive: struct field name matches "secret" pattern @@ -38,8 +35,6 @@ linters: govet: enable: - shadow - lll: - line-length: 140 misspell: locale: US exclusions: