This commit is contained in:
@@ -1,18 +1,21 @@
|
|||||||
name: Build dns-webhook Image
|
name: dns/webhook
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
release:
|
||||||
runs-on: fritzlab
|
runs-on: fritzlab
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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:
|
with:
|
||||||
image: code.fritzlab.net/dns/webhook
|
image: code.fritzlab.net/dns/webhook
|
||||||
token: ${{ secrets.CI_BOT_TOKEN }}
|
token: ${{ secrets.CI_BOT_TOKEN }}
|
||||||
org: dns
|
org: dns
|
||||||
name: webhook
|
name: webhook
|
||||||
latest: 'false'
|
latest: 'false'
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user