diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 34bd9831..23595962 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -20,16 +20,26 @@ before: - sh -c "GOOS=windows BACKREST_BUILD_VERSION={{.Version}} go generate ./..." builds: - - main: . + - id: other + main: . env: - CGO_ENABLED=0 goos: - - linux - darwin - windows goarch: - amd64 - arm64 + - id: linux + main: . + env: + - CGO_ENABLED=0 + goos: + - linux + goarch: + - amd64 + - arm64 + - arm archives: - format: tar.gz @@ -85,11 +95,20 @@ dockers: - "--pull" - "--platform=linux/amd64" + - image_templates: + - garethgeorge/backrest:{{ .Tag }}-scratch-armv6 + dockerfile: Dockerfile.scratch + use: buildx + build_flag_templates: + - "--pull" + - "--platform=linux/arm/v6" + docker_manifests: - name_template: "garethgeorge/backrest:latest" image_templates: - "garethgeorge/backrest:{{ .Tag }}-scratch-amd64" - "garethgeorge/backrest:{{ .Tag }}-scratch-arm64" + - "garethgeorge/backrest:{{ .Tag }}-scratch-armv6" - name_template: "garethgeorge/backrest:{{ .Tag }}" image_templates: - "garethgeorge/backrest:{{ .Tag }}-scratch-amd64" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f5b0aa95..64f29bcd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,6 @@ This repo uses [Conventional Commits](https://www.conventionalcommits.org/en/v1. * Node.JS for UI development * Go 1.21 or greater for server development - * go.rice `go install github.com/GeertJohan/go.rice@latest` and `go install github.com/GeertJohan/go.rice/rice@latest` * goreleaser `go install github.com/goreleaser/goreleaser@latest` **To Edit Protobuffers** diff --git a/webui/src/views/RepoView.tsx b/webui/src/views/RepoView.tsx index 5cd21de5..7f75847e 100644 --- a/webui/src/views/RepoView.tsx +++ b/webui/src/views/RepoView.tsx @@ -165,7 +165,7 @@ const StatsPanel = ({ repoId }: { repoId: string }) => { series={[ { dataKey: "totalSizeMb", - label: "Total Size (MB)", + label: "Total Size", valueFormatter: (v: any) => formatBytes(v * 1000000 as number), }, ]}