From 89c84c436dbbd33f68742b2475caef480b81cce2 Mon Sep 17 00:00:00 2001 From: Donavan Fritz Date: Wed, 6 May 2026 08:14:45 -0500 Subject: [PATCH] ci: migrate to action/ org composite actions --- .gitea/workflows/main.yaml | 16 ++++++---------- .gitea/workflows/pr.yaml | 12 ++++++++++++ 2 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 .gitea/workflows/pr.yaml diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 8039c4d..c5649f1 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -1,16 +1,12 @@ -name: Synthetic CoreDNS Plugin CI/CD Build +name: dns/synthetic build test on: push: - branches: - - main + branches: [main] jobs: test: runs-on: fritzlab steps: - - name: Check out repository code - uses: actions/checkout@v4 - - name: run tests - run: | - set -x - docker build \ - --progress plain . + - uses: actions/checkout@v4 + - uses: https://code.fritzlab.net/action/image-build@v1 + with: + image: code.fritzlab.net/dns/synthetic diff --git a/.gitea/workflows/pr.yaml b/.gitea/workflows/pr.yaml new file mode 100644 index 0000000..6a88e08 --- /dev/null +++ b/.gitea/workflows/pr.yaml @@ -0,0 +1,12 @@ +name: dns/synthetic 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/synthetic