From 89327a3b684cbba32e354c0d7d0a50db00a97313 Mon Sep 17 00:00:00 2001 From: Donavan Fritz Date: Wed, 6 May 2026 08:14:42 -0500 Subject: [PATCH] ci: migrate to action/ org composite actions --- .gitea/workflows/main.yaml | 11 +++++++---- .gitea/workflows/pr.yaml | 12 ++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .gitea/workflows/pr.yaml diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index f0a8912..d95943f 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -1,18 +1,21 @@ -name: Build dns-webhook Image +name: dns/webhook on: push: branches: [main] jobs: - build: + release: runs-on: fritzlab steps: - uses: actions/checkout@v4 - - uses: https://code.fritzlab.net/fritzlab/build-image@v1 + - uses: https://code.fritzlab.net/action/image-build@v1 + with: + image: code.fritzlab.net/dns/webhook + + - uses: https://code.fritzlab.net/action/image-push@v1 with: image: code.fritzlab.net/dns/webhook token: ${{ secrets.CI_BOT_TOKEN }} org: dns name: webhook latest: 'false' - diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml new file mode 100644 index 0000000..b75143c --- /dev/null +++ b/.gitea/workflows/pr.yaml @@ -0,0 +1,12 @@ +name: dns/webhook PR validation +on: + pull_request: + branches: [main] +jobs: + validate: + runs-on: fritzlab + steps: + - uses: actions/checkout@v4 + - uses: https://code.fritzlab.net/action/image-build@v1 + with: + image: code.fritzlab.net/dns/webhook