2024-02-24 13:11:53 +02:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build_image:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
2024-02-24 13:20:09 +02:00
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v3
|
2024-02-24 14:21:03 +02:00
|
|
|
- name: Login to Docker registry (Forgejo)
|
2024-02-24 13:11:53 +02:00
|
|
|
uses: docker/login-action@v3
|
|
|
|
with:
|
|
|
|
registry: git.korhonen.cc
|
|
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
2024-02-24 13:21:12 +02:00
|
|
|
- name: Build and push image
|
|
|
|
uses: docker/build-push-action@v5
|
|
|
|
with:
|
|
|
|
push: true
|
|
|
|
tags: git.korhonen.cc/functionalhacker/forgejo-asciidoc
|
2024-02-24 15:57:23 +02:00
|
|
|
- name: Notify in Telegram channel
|
2024-02-24 15:58:32 +02:00
|
|
|
uses: https://github.com/appleboy/telegram-action@master
|
2024-02-24 15:57:23 +02:00
|
|
|
with:
|
|
|
|
to: "-1001915202306"
|
|
|
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
|
|
|
message: |
|
2024-02-24 16:05:33 +02:00
|
|
|
Newest version of forgejo-asciidoc support has just been built. docker pull away!
|
2024-02-24 15:57:23 +02:00
|
|
|
|
2024-02-24 16:00:37 +02:00
|
|
|
See details: https://git.korhonen.cc/FunctionalHacker/-/packages/container/forgejo-asciidoc/latest
|