Error building GitHub Action container image and pushing to ghcr.io during automated release
jmeridth opened this issue · comments
Describe the bug
Using docker/build-push-action
getting error when pushing images to ghcr.io in the create_release-images workflow.
To Reproduce
- Merge PR to main (default branch)
- Release, tag, and discussion created succesffully
- GitHub Action container image built successfully but errors when pushing to ghcr.io
buildx failed with: ERROR: failed to solve: failed to push ghcr.io/issue_metrics:latest:
unexpected status from HEAD request to https://ghcr.io/v2/issue_metrics/blobs/sha256:[SHA]: 400 Bad Request
Expected behavior
GitHub Action container image is built successfully and pushed to ghcr.io without issue.
This is succeeding in https://github.com/github/cleanowners already without issue.
Screenshots
No response
Additional context
Might be related to pushing multiple tags at once, unknown.