mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-08-14 20:57:12 +00:00
fix(release): lowercase the ghcr repo name in image tags (#738)
The repo is 'got-feedback/feedBack' (capital B) after the rename, so ${GITHUB_REPOSITORY} produced an invalid Docker tag ('repository name must be lowercase'). Use ${GITHUB_REPOSITORY,,}. nightly/rc already hardcode lowercase 'feedback'.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
286c59707b
commit
9456790083
@@ -35,9 +35,9 @@ jobs:
|
|||||||
# stable releases (no pre-release suffix).
|
# stable releases (no pre-release suffix).
|
||||||
{
|
{
|
||||||
echo "tags<<TAGS_EOF"
|
echo "tags<<TAGS_EOF"
|
||||||
echo "ghcr.io/${GITHUB_REPOSITORY}:${version}"
|
echo "ghcr.io/${GITHUB_REPOSITORY,,}:${version}"
|
||||||
if [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
echo "ghcr.io/${GITHUB_REPOSITORY}:latest"
|
echo "ghcr.io/${GITHUB_REPOSITORY,,}:latest"
|
||||||
fi
|
fi
|
||||||
echo "TAGS_EOF"
|
echo "TAGS_EOF"
|
||||||
} >> "$GITHUB_OUTPUT"
|
} >> "$GITHUB_OUTPUT"
|
||||||
|
|||||||
Reference in New Issue
Block a user