From afd33a1319bbd9db93c0863299db847891870d5f Mon Sep 17 00:00:00 2001 From: lenye Date: Sat, 9 Sep 2023 11:41:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20goreleaser=20=E5=88=A0=E9=99=A4=20dock?= =?UTF-8?q?er=20platform=20armv6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yaml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 65f0781..45d8371 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -116,25 +116,6 @@ dockers: - "--label=org.opencontainers.image.source=https://github.com/lenye/{{.ProjectName}}" - "--label=org.opencontainers.image.revision={{.FullCommit}}" - "--label=org.opencontainers.image.version={{.Version}}" - - image_templates: - - "ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv6" - - "ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv6" - - "ghcr.io/lenye/{{ .ProjectName }}:latest-armv6" - use: buildx - goos: linux - goarch: arm - goarm: 6 - dockerfile: Dockerfile - build_flag_templates: - - "--pull" - - "--platform=linux/arm/v6" - - "--label=org.opencontainers.image.created={{.Date}}" - - "--label=org.opencontainers.image.title={{.ProjectName}}" - - "--label=org.opencontainers.image.description={{.ProjectName}}" - - "--label=org.opencontainers.image.url=https://github.com/lenye/{{.ProjectName}}" - - "--label=org.opencontainers.image.source=https://github.com/lenye/{{.ProjectName}}" - - "--label=org.opencontainers.image.revision={{.FullCommit}}" - - "--label=org.opencontainers.image.version={{.Version}}" - image_templates: - "ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv7" - "ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv7" @@ -160,17 +141,14 @@ docker_manifests: image_templates: - ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-amd64 - ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-arm64 - - ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv6 - ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv7 - name_template: ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }} image_templates: - ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-amd64 - ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-arm64 - - ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv6 - ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv7 - name_template: ghcr.io/lenye/{{ .ProjectName }}:latest image_templates: - ghcr.io/lenye/{{ .ProjectName }}:latest-amd64 - ghcr.io/lenye/{{ .ProjectName }}:latest-arm64 - - ghcr.io/lenye/{{ .ProjectName }}:latest-armv6 - ghcr.io/lenye/{{ .ProjectName }}:latest-armv7 \ No newline at end of file