Add Forgejo CI workflow to build and push Docker image
/ build (push) Failing after 1m24s Details

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
kosma 2026-03-04 15:10:21 +01:00
parent b95ce03030
commit 40f658a13e
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ gitea.server_url }}/${{ gitea.repository }}:latest
username: ${{ gitea.actor }}
password: ${{ secrets.FORGEJO_TOKEN }}