feat(ci): add GitHub Actions workflow for testing and Docker builds #20

Merged
haylan merged 13 commits from patch-2-gitea-registry into main 2026-07-31 12:22:24 +00:00
Showing only changes of commit 658892a639 - Show all commits
+2 -3
View File
@@ -8,7 +8,6 @@ on:
env:
REGISTRY: git.arthurerlich.de
DEV_IMAGE: git.arthurerlich.de/${{ gitea.repository }}:ci-${{ gitea.sha }}
jobs:
build-dev:
@@ -34,7 +33,7 @@ jobs:
file: Dockerfile.dev
target: dev
push: true
tags: ${{ env.DEV_IMAGE }}
tags: ${{ env.REGISTRY }}/${{ gitea.repository }}:ci-${{ gitea.sha }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository }}:buildcache-dev
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository }}:buildcache-dev,mode=max
@@ -60,7 +59,7 @@ jobs:
needs: build-dev
runs-on: ubuntu-latest
container:
image: ${{ env.DEV_IMAGE }}
image: ${{ env.REGISTRY }}/${{ gitea.repository }}:ci-${{ gitea.sha }}
credentials:
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}