Files
Pihole-Unbound/.gitea/workflows/pihole-build_nightly.yml
awptechnologies d7075991bc
All checks were successful
Build and Push Pihole Latest Image / build (push) Successful in 37s
Build and Push Pihole Nightly Image / build (push) Successful in 42s
Build and Push Pihole Dev Image / build (push) Successful in 27s
Build
2024-12-15 14:28:38 -05:00

31 lines
795 B
YAML

name: Build and Push Pihole Nightly Image
on:
push:
branches:
- nightly
schedule:
- cron: "0 2 * * 1,4"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: nightly
- 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:nightly .
- name: Push Docker Image to Gitea
run: docker push gitea.awptechnologies.co/${{ vars.OWNER }}/pihole-unbound:nightly