feat: add release artifacts for arm32

This commit is contained in:
Gareth George
2024-02-28 19:42:46 -08:00
parent 80a90fa1f8
commit b986825600
3 changed files with 22 additions and 4 deletions
+21 -2
View File
@@ -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"
-1
View File
@@ -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**
+1 -1
View File
@@ -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),
},
]}