Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 26e8aa6bb4 | |||
| 7cca1297c6 | |||
| 1e2cd3de53 | |||
| 8d1ee19e7d | |||
| e6b372503e | |||
| c8658e6a1b | |||
| 5b0446475c | |||
| 295fb1c5bb | |||
| 48e0c18871 | |||
| ad7ff64607 | |||
| 418e6d4f0e | |||
| 4b63ea4665 | |||
| 0e56edeb06 |
@@ -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
|
||||
@@ -1,8 +1,8 @@
|
||||
#ARG PIHOLE_VERSION
|
||||
FROM pihole/pihole:development
|
||||
FROM pihole/pihole:nightly
|
||||
RUN apk update
|
||||
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
|
||||
|
||||
COPY config/unbound/unbound.conf /etc/unbound/unbound.conf
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
just a test
|
||||
Reference in New Issue
Block a user