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 }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
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
|
- name: Build and push image
|
||||||
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
|
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
@ -42,6 +45,7 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.REPO }}:latest
|
${{ env.REPO }}:latest
|
||||||
${{ env.REPO }}:${{ env.FORGEJO_VERSION }}
|
${{ env.REPO }}:${{ env.FORGEJO_VERSION }}
|
||||||
|
${{ env.REPO }}:${{ env.POINT_RELEASE }}
|
||||||
- name: Notify in Telegram channel
|
- name: Notify in Telegram channel
|
||||||
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
|
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
|
||||||
uses: https://github.com/appleboy/telegram-action@master
|
uses: https://github.com/appleboy/telegram-action@master
|
||||||
|
@ -49,6 +53,6 @@ jobs:
|
||||||
to: "-1001915202306"
|
to: "-1001915202306"
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
message: |
|
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
|
See details: https://git.korhonen.cc/FunctionalHacker/-/packages/container/forgejo-asciidoc/latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue