diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index af016cb..e76b00b 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -37,8 +37,9 @@ jobs: id: point_release if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true' run: | - POINT_RELEASE="$(skopeo inspect docker://codeberg.org/forgejo/forgejo:${{ FORGEJO_VERSION }} | jq -r '.RepoTags | last' | cut -d '-' -f 1)" - echo "point_release=$POINT_RELEASE" >> $GITHUB_OUTPUT + VERSION="$(skopeo inspect docker://codeberg.org/forgejo/forgejo:${{ FORGEJO_VERSION }} | jq -r '.RepoTags | last' | cut -d '-' -f 1)" + echo "Point release: $VERSION" + echo "version=$VERSION" >> $GITHUB_OUTPUT - name: Build and push image if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true' uses: docker/build-push-action@v5 @@ -48,7 +49,7 @@ jobs: tags: | ${{ env.REPO }}:latest ${{ env.REPO }}:${{ env.FORGEJO_VERSION }} - ${{ env.REPO }}:${{ steps.point_release.outputs.point_release }} + ${{ env.REPO }}:${{ steps.point_release.outputs.version }} - name: Notify in Telegram channel if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true' uses: https://github.com/appleboy/telegram-action@master @@ -56,6 +57,6 @@ jobs: to: "-1001915202306" token: ${{ secrets.TELEGRAM_TOKEN }} message: | - forgejo-asciidoc v${{ steps.point_release.outputs.point_release }} has just been built. docker pull away! + forgejo-asciidoc v${{ steps.point_release.outputs.version }} has just been built. docker pull away! See details: https://git.korhonen.cc/FunctionalHacker/-/packages/container/forgejo-asciidoc/latest