Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 19a13c8643 | |||
| 4efeb2741d | |||
| d1c4495285 | |||
| f6f9a2f8fd | |||
| b41a2d5c25 | |||
| 3313598fe0 | |||
| f6e6a1f76b | |||
| f4ea968aba | |||
| e6e2121467 | |||
| 253aec3bec | |||
| aefbbdb941 | |||
| a24aa9cef3 | |||
| 0a99831598 | |||
| 410759c526 |
@@ -1,26 +0,0 @@
|
|||||||
name: Build and Push Docker Image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
|
|
||||||
- name: Log in to Gitea Registry
|
|
||||||
run: echo ${{ secrets.PIHOLE }} | docker login gitea.awptechnologies.co -u ${{ vars.OWNER }} --password-stdin
|
|
||||||
|
|
||||||
- name: Build Docker Image
|
|
||||||
run: docker build -t gitea.awptechnologies.co/${{ vars.OWNER }}/pihole-unbound:latest .
|
|
||||||
|
|
||||||
- name: Push Docker Image to Gitea
|
|
||||||
run: docker push gitea.awptechnologies.co/${{ vars.OWNER }}/pihole-unbound:latest
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
FROM pihole/pihole:development
|
FROM pihole/pihole:development
|
||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk add --no-cache unbound curl ca-certificates \
|
RUN apk add --no-cache unbound curl ca-certificates \
|
||||||
&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
|
&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
|
||||||
RUN apk add --no-cache iputils-ping
|
RUN apk add --no-cache iputils-ping
|
||||||
|
|
||||||
COPY config/unbound/unbound.conf /etc/unbound/unbound.conf
|
COPY config/unbound/unbound.conf /etc/unbound/unbound.conf
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
just a test
|
|
||||||
Reference in New Issue
Block a user