Compare commits

...

2 Commits

Author SHA1 Message Date
Jonathan Dahan
d475b9bb76
Merge a9c9d5333d into 0788c444d8 2025-05-15 10:20:21 -04:00
Jonathan Dahan
a9c9d5333d
Explain can't push tagged ref error
Signed-off-by: Jonathan Dahan <github@jonathan.is>
2025-05-12 12:00:24 -04:00

View File

@ -135,3 +135,11 @@ Or a dedicated step to sanitize the slug:
push: true push: true
tags: ${{ steps.repo_slug.outputs.result }}:latest tags: ${{ steps.repo_slug.outputs.result }}:latest
``` ```
## can't push tagged ref docker.io/user/image:latest by digest
By tagged ref, it means the image tag :latest conflicts with the push-by-digest=true output option. So it's either push by tag or push by digest, and, if the latter, the tags input must then be a CSV of repo names only, like:
```yaml
tags: docker.io/${{ github.repository }},ghcr.io/${{ github.repository }}
```