Files
Pihole-Unbound/.gitea/workflows/pihole-build_dev.yml
awptechnologies 19d1351716
All checks were successful
Build and Push Pihole Latest Image / build (push) Successful in 42s
Build
2024-12-15 14:24:07 -05:00

31 lines
775 B
YAML

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