diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 282fdb9..8e26e1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,6 +55,12 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Compute image name + id: image + run: | + repo_lower=$(echo "${GITHUB_REPOSITORY}" | tr '[:upper:]' '[:lower:]') + echo "name=ghcr.io/${repo_lower}" >> "${GITHUB_OUTPUT}" + - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 @@ -66,8 +72,8 @@ jobs: push: true platforms: linux/amd64,linux/arm64 tags: | - ghcr.io/${{ github.repository }}:${{ github.ref_name }} - ghcr.io/${{ github.repository }}:latest + ${{ steps.image.outputs.name }}:${{ github.ref_name }} + ${{ steps.image.outputs.name }}:latest - name: Create GitHub Release env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f86caa..918cd7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and the project uses Semantic Versioning. +## [0.2.1] - 2026-04-18 + +### Fixed + +- GitHub release workflow now lowercases the GHCR image name before publishing, which fixes releases for repositories with uppercase owner names. + ## [0.2.0] - 2026-04-18 ### Changed diff --git a/README.md b/README.md index f4da122..51428ea 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Сервис конвертации Markdown в самодостаточный HTML. Полностью офлайн, без обращений к внешним API. -Текущая версия: `0.2.0` (Go + goldmark + templUI) +Текущая версия: `0.2.1` (Go + goldmark + templUI) ## Возможности diff --git a/VERSION b/VERSION index 0ea3a94..0c62199 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.0 +0.2.1