diff --git a/.gitea/workflows/pihole-build.yml b/.gitea/workflows/pihole-build.yml index ac7b3d6..ead12ec 100644 --- a/.gitea/workflows/pihole-build.yml +++ b/.gitea/workflows/pihole-build.yml @@ -20,7 +20,7 @@ jobs: run: echo ${{ secrets.BUILD }} | 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 . + run: docker build --no-cache -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 diff --git a/Dockerfile b/Dockerfile index 8bfb1dd..6712893 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,6 @@ RUN apk add --no-cache unbound curl ca-certificates \ && curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache RUN apk add --no-cache iputils-ping -RUN mkdir -p /etc/unbound - COPY config/unbound/unbound.conf /etc/unbound/unbound.conf COPY config/unbound/unbound.conf.d /etc/unbound/unbound.conf.d COPY config/unbound/unbound.log /etc/unbound/unbound.log