Files
Pihole-Unbound/.gitea/workflows/pihole-build.yml
awptechnologies b27972564b
Some checks failed
Build and Push Pihole Nightly Image / build (push) Successful in 55s
Build and Push Pihole Latest Image / build (push) Successful in 35s
Build and Push Pihole Dev Image / build (push) Failing after 20s
Build 8-28-2025
2025-08-28 09:44:47 -04:00

31 lines
786 B
YAML

name: Build and Push Pihole Latest Image
on:
push:
branches:
- main
schedule:
- cron: "0 2 * * 1,4"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: main
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Gitea Registry
run: echo ${{ secrets.BUILD }} | docker login gitea.awptechnologies.co -u ${{ vars.OWNER }} --password-stdin
- name: Build Docker Image
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