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