|
|
@ -11,7 +11,7 @@ builds:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
|
|
|
|
|
|
|
|
ldflags:
|
|
|
|
ldflags:
|
|
|
|
- -X 'github.com/cloudreve/Cloudreve/v3/pkg/conf.BackendVersion={{.Version}}' -X 'github.com/cloudreve/Cloudreve/v3/pkg/conf.LastCommit={{.ShortCommit}}'
|
|
|
|
- -X 'github.com/cloudreve/Cloudreve/v3/pkg/conf.BackendVersion={{.Tag}}' -X 'github.com/cloudreve/Cloudreve/v3/pkg/conf.LastCommit={{.ShortCommit}}'
|
|
|
|
|
|
|
|
|
|
|
|
goos:
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- linux
|
|
|
@ -66,3 +66,57 @@ release:
|
|
|
|
prerelease: auto
|
|
|
|
prerelease: auto
|
|
|
|
target_commitish: '{{ .Commit }}'
|
|
|
|
target_commitish: '{{ .Commit }}'
|
|
|
|
name_template: "{{.Version}}"
|
|
|
|
name_template: "{{.Version}}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dockers:
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
|
|
|
use: buildx
|
|
|
|
|
|
|
|
build_flag_templates:
|
|
|
|
|
|
|
|
- "--platform=linux/amd64"
|
|
|
|
|
|
|
|
goos: linux
|
|
|
|
|
|
|
|
goarch: amd64
|
|
|
|
|
|
|
|
image_templates:
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-amd64"
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
|
|
|
use: buildx
|
|
|
|
|
|
|
|
build_flag_templates:
|
|
|
|
|
|
|
|
- "--platform=linux/arm64"
|
|
|
|
|
|
|
|
goos: linux
|
|
|
|
|
|
|
|
goarch: arm64
|
|
|
|
|
|
|
|
image_templates:
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-arm64"
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
|
|
|
use: buildx
|
|
|
|
|
|
|
|
build_flag_templates:
|
|
|
|
|
|
|
|
- "--platform=linux/arm/v6"
|
|
|
|
|
|
|
|
goos: linux
|
|
|
|
|
|
|
|
goarch: arm
|
|
|
|
|
|
|
|
goarm: '6'
|
|
|
|
|
|
|
|
image_templates:
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-armv6"
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
|
|
|
use: buildx
|
|
|
|
|
|
|
|
build_flag_templates:
|
|
|
|
|
|
|
|
- "--platform=linux/arm/v7"
|
|
|
|
|
|
|
|
goos: linux
|
|
|
|
|
|
|
|
goarch: arm
|
|
|
|
|
|
|
|
goarm: '7'
|
|
|
|
|
|
|
|
image_templates:
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-armv7"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docker_manifests:
|
|
|
|
|
|
|
|
- name_template: "cloudreve/cloudreve:latest"
|
|
|
|
|
|
|
|
image_templates:
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-amd64"
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-arm64"
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-armv6"
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-armv7"
|
|
|
|
|
|
|
|
- name_template: "cloudreve/cloudreve:{{ .Tag }}"
|
|
|
|
|
|
|
|
image_templates:
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-amd64"
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-arm64"
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-armv6"
|
|
|
|
|
|
|
|
- "cloudreve/cloudreve:{{ .Tag }}-armv7"
|