Skip to content

Commit

Permalink
ci(release): fix missing v prefix in docker tags
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joemiller committed Dec 11, 2024
1 parent 611b359 commit 5cebcc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ jobs:
run: |
curl -sL https://git.io/goreleaser | bash -s -- --parallelism=2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5cebcc4

Please sign in to comment.