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