Skip to content

Commit 1922aa3

Browse files
committed
Setup Github Actions
1 parent da23ce5 commit 1922aa3

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

.github/workflows/e_d.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: ExternalDns DnsMasq Provider
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- 'master'
8+
9+
jobs:
10+
build-n-push:
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Login
18+
uses: docker/login-action@v3
19+
with:
20+
registry: ghcr.io
21+
username: ${{ github.actor }}
22+
password: ${{ secrets.GITHUB_TOKEN }}
23+
24+
- name: Build and push
25+
uses: docker/build-push-action@v6
26+
with:
27+
file: "e_d.Dockerfile"
28+
push: true
29+
tags: |
30+
ghcr.io/magicloud/e_d:${{ github.sha }}
31+
ghcr.io/magicloud/e_d:latest

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.enabled": false
3+
}

examples/e_d/helm-value.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ sources:
1212
- service
1313
- ingress
1414
- crd
15+
- gateway-httproute
1516

1617
provider:
1718
name: webhook
@@ -30,4 +31,4 @@ provider:
3031
value: debug
3132
extraVolumeMounts:
3233
- name: conf
33-
mountPath: /etc/dnsmasq.d/
34+
mountPath: /etc/dnsmasq.d/

0 commit comments

Comments
 (0)