mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-08-27 19:36:29 +00:00
feat: add release artifacts for arm32
This commit is contained in:
+21
-2
@@ -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"
|
||||
|
||||
@@ -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**
|
||||
|
||||
@@ -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),
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user