-
Notifications
You must be signed in to change notification settings - Fork 14
CI: release tags are not publishing versioned Docker images to GHCR #37
Copy link
Copy link
Open
Description
Summary
Versioned Docker image tags (e.g., 1.5.3, v1.5.3) are not being published to GHCR, even though releases are created via semantic-release.
Current Behavior
- On merge to
main:build-docker.ymlpublishesmainandlatestimagesrelease.ymlcreates a Git tag (e.g.,v1.5.3)
- Docker images for the release tag are not published
Root Cause
- Release tags are created using
GITHUB_TOKEN - GitHub does not trigger workflows from events caused by
GITHUB_TOKEN - As a result, the build workflow does not run for the new tag
Proposed Solution
- Move Docker image publishing into
release.ymlaftersemantic-release - Keep
build-docker.ymlformainandlatestimages - Tag release images with:
1.5.3v1.5.3
Source from GitHub: When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch [manually triggered] and repository_dispatch [triggered via API], will not create a new workflow run. (ours is push event)
In the short term, can you please trigger build-docker.yml manually so we have the tag available in GHCR. Thanks!

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels