refactored container image and gitea workflows
All checks were successful
/ build-docker-image (push) Successful in 1m2s

This commit is contained in:
2025-09-21 15:51:47 +01:00
parent 9fd2b7dd8b
commit 886cbb292f
9 changed files with 185 additions and 63 deletions

View File

@@ -0,0 +1,33 @@
on:
push:
branches: [ feature/* ]
paths:
- "docker/**"
- ".gitea/**"
schedule:
- cron: "0 02 * * *"
jobs:
build-docker-image:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to git.limbosolutions.com docker registry
uses: docker/login-action@v3
with:
registry: git.limbosolutions.com
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
- name: Build and push Docker images
id: push
uses: docker/build-push-action@v6
with:
context: .
file: ${{gitea.workspace}}/docker/Dockerfile
push: true
tags: git.limbosolutions.com/kb/borg-backup:alpha

View File

@@ -1,5 +1,6 @@
on:
push:
branches: [ main ]
paths:
- "docker/**"
- ".gitea/**"