Skip to content

Commit 2d2f269

Browse files
committed
fix: Use repository-matching Docker image name for GHCR auth
The GITHUB_TOKEN permissions are scoped to the repository, so Docker images must use ghcr.io/csnp/qramm-cryptodeps (not ghcr.io/csnp/cryptodeps) to authenticate properly.
1 parent 70dd21e commit 2d2f269

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.goreleaser.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ changelog:
107107
# Docker images
108108
dockers:
109109
- image_templates:
110-
- "ghcr.io/csnp/cryptodeps:{{ .Tag }}"
111-
- "ghcr.io/csnp/cryptodeps:v{{ .Major }}"
112-
- "ghcr.io/csnp/cryptodeps:v{{ .Major }}.{{ .Minor }}"
113-
- "ghcr.io/csnp/cryptodeps:latest"
110+
- "ghcr.io/csnp/qramm-cryptodeps:{{ .Tag }}"
111+
- "ghcr.io/csnp/qramm-cryptodeps:v{{ .Major }}"
112+
- "ghcr.io/csnp/qramm-cryptodeps:v{{ .Major }}.{{ .Minor }}"
113+
- "ghcr.io/csnp/qramm-cryptodeps:latest"
114114
dockerfile: build/Dockerfile
115115
build_flag_templates:
116116
- "--pull"
@@ -150,7 +150,7 @@ release:
150150
151151
**Docker:**
152152
```bash
153-
docker run --rm -v $(pwd):/workspace ghcr.io/csnp/cryptodeps:{{ .Tag }} analyze /workspace
153+
docker run --rm -v $(pwd):/workspace ghcr.io/csnp/qramm-cryptodeps:{{ .Tag }} analyze /workspace
154154
```
155155
156156
footer: |

0 commit comments

Comments
 (0)