feat: Implement a Discord bot for RSS feed checking with slash commands and add a Gitea Actions workflow for Docker image build and push.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 16s

This commit is contained in:
2026-03-21 21:03:08 +01:00
parent 6ec1df4f78
commit cbd1947acb
2 changed files with 69 additions and 19 deletions

View File

@@ -0,0 +1,37 @@
name: Build and Push Docker Image
on:
push:
tags:
- 'v*'
env:
REGISTRY: git.out.jafre.li
IMAGE_NAME: jafreli/updater
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ var.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest