add ddns container build pipeline
Some checks failed
Podman DDNS Image / build-and-push-ddns (push) Failing after 25s
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 11s

This commit is contained in:
2025-04-19 18:57:34 -04:00
parent ef9104c796
commit 4723ffb13d
3 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
name: Podman DDNS Image
run-name: Build and Push the Podman DDNS Image
on:
push:
paths:
- active/podman_ddns/**
- .gitea/workflows/**
schedule:
- cron: '@daily'
jobs:
build-and-push-ddns:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Login to Gitea Registry
uses: docker/login-action@v2
with:
registry: gitea.reeseapps.com
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
with:
context: ${{ gitea.workspace }}/active/podman_ddns
file: ${{ gitea.workspace }}/active/podman_ddns/Containerfile
push: true
tags: "gitea.reeseapps.com/services/ddns:latest,gitea.reeseapps.com/services/ddns:${{gitea.sha}}"
no-cache: false

2
.gitignore vendored
View File

@@ -4,3 +4,5 @@ tmp/
Unsorted/
volumes/
__pycache__/
.pytest_cache/
.venv/