This commit is contained in:
parent
8f8a0dfb01
commit
f206ca2b02
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue