Add point release information
Some checks failed
/ Build image (push) Failing after 31s

This commit is contained in:
Marko Korhonen 2024-02-28 12:26:45 +02:00
parent 8f8a0dfb01
commit f206ca2b02
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -33,6 +33,9 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Get point release
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
run: echo "POINT_RELEASE=$(skopeo inspect docker://codeberg.org/forgejo/forgejo:${{ FORGEJO_VERSION }} | jq -r '.RepoTags | last' | cut -d '-' -f 1)" >> $GITHUB_ENV
- name: Build and push image
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
uses: docker/build-push-action@v5
@ -42,6 +45,7 @@ jobs:
tags: |
${{ env.REPO }}:latest
${{ env.REPO }}:${{ env.FORGEJO_VERSION }}
${{ env.REPO }}:${{ env.POINT_RELEASE }}
- name: Notify in Telegram channel
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
uses: https://github.com/appleboy/telegram-action@master
@ -49,6 +53,6 @@ jobs:
to: "-1001915202306"
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
New version v${{ env.FORGEJO_VERSION }} of forgejo-asciidoc support has just been built. docker pull away!
forgejo-asciidoc v${{ env.POINT_RELEASE }} has just been built. docker pull away!
See details: https://git.korhonen.cc/FunctionalHacker/-/packages/container/forgejo-asciidoc/latest