From 8537dca10aa474d8d9a8244d1d9912d260521ae4 Mon Sep 17 00:00:00 2001 From: Darren Yu Date: Tue, 3 Sep 2024 13:56:09 +0800 Subject: [PATCH] Add files via upload --- .goreleaser.yaml | 62 ------------------------------------------------ 1 file changed, 62 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8631ace..36438e7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -4,7 +4,6 @@ env: before: hooks: - go mod tidy - - sh -c "cd assets && rm -rf build && yarn install --network-timeout 1000000 && yarn run build && cd ../ && zip -r - assets/build >assets.zip" builds: - env: @@ -58,64 +57,3 @@ changelog: exclude: - '^docs:' - '^test:' - -release: - draft: true - prerelease: auto - target_commitish: '{{ .Commit }}' - name_template: "{{.Version}}" - -dockers: - - - dockerfile: Dockerfile - use: buildx - build_flag_templates: - - "--platform=linux/amd64" - goos: linux - goarch: amd64 - goamd64: v1 - 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" \ No newline at end of file