ci: migrate to action/ org composite actions
dns/synthetic build test / test (push) Successful in 2m58s
dns/synthetic build test / test (push) Successful in 2m58s
This commit is contained in:
@@ -1,16 +1,12 @@
|
|||||||
name: Synthetic CoreDNS Plugin CI/CD Build
|
name: dns/synthetic build test
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [main]
|
||||||
- main
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: fritzlab
|
runs-on: fritzlab
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
- uses: https://code.fritzlab.net/action/image-build@v1
|
||||||
- name: run tests
|
with:
|
||||||
run: |
|
image: code.fritzlab.net/dns/synthetic
|
||||||
set -x
|
|
||||||
docker build \
|
|
||||||
--progress plain .
|
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user