chore: add pipeline
All checks were successful
Commit / ci (push) Successful in 40s

This commit is contained in:
2025-11-26 22:00:07 +01:00
parent 5ab04b9acb
commit 60ff74f233
7 changed files with 99 additions and 7533 deletions

28
.gitea/workflows/pr.yaml Normal file
View File

@@ -0,0 +1,28 @@
name: PullRequest
on:
pull_request:
branches: ['main', 'dev']
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@v4
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
with:
config-inline: |
[registry."git.schreifuchs.ch"]
http = true
insecure = true
- name: login
run: docker login -u schreifuchs -p ${{ secrets.REGISTRY_TOKEN }} git.schreifuchs.ch
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: 'git.schreifuchs.ch/schreifuchs/aktiteil:pr-${{ github.ref_name }}'