From 5cebcc401345f9940e1f1300c7cf03c0103fdc2b Mon Sep 17 00:00:00 2001 From: joe miller Date: Wed, 11 Dec 2024 23:28:48 +0000 Subject: [PATCH] ci(release): fix missing v prefix in docker tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit should resolve: https://github.com/autotag-dev/autotag/actions/runs/12286670565/job/34287260617 > тип release failed after 40s error=docker manifests: failed to publish artifacts: failed to create ghcr.io/autotag-dev/autotag:1: exit status 1: manifest unknown --- .github/workflows/release.yaml | 2 +- .goreleaser.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d087246..c9519e4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -73,4 +73,4 @@ jobs: run: | curl -sL https://git.io/goreleaser | bash -s -- --parallelism=2 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index b662d3b..bb23f1f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -138,12 +138,12 @@ docker_manifests: - "ghcr.io/autotag-dev/autotag:{{ .Tag }}-amd64" - "ghcr.io/autotag-dev/autotag:{{ .Tag }}-arm64" - - name_template: "ghcr.io/autotag-dev/autotag:{{ .Major }}" + - name_template: "ghcr.io/autotag-dev/autotag:v{{ .Major }}" image_templates: - - "ghcr.io/autotag-dev/autotag:{{ .Major }}-amd64" - - "ghcr.io/autotag-dev/autotag:{{ .Major }}-arm64" + - "ghcr.io/autotag-dev/autotag:v{{ .Major }}-amd64" + - "ghcr.io/autotag-dev/autotag:v{{ .Major }}-arm64" - - name_template: "ghcr.io/autotag-dev/autotag:{{ .Major }}.{{ .Minor }}" + - name_template: "ghcr.io/autotag-dev/autotag:v{{ .Major }}.{{ .Minor }}" image_templates: - "ghcr.io/autotag-dev/autotag:v{{ .Major }}.{{ .Minor }}-amd64" - "ghcr.io/autotag-dev/autotag:v{{ .Major }}.{{ .Minor }}-arm64"