Edit pihole-build to tag dev for dev branch
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m32s

This commit is contained in:
2024-11-09 21:59:27 -05:00
parent f053483b66
commit 410759c526

View File

@@ -3,7 +3,7 @@ name: Build and Push Docker Image
on: on:
push: push:
branches: branches:
- main - dev
jobs: jobs:
build: build:
@@ -20,7 +20,7 @@ jobs:
run: echo ${{ secrets.PIHOLE }} | docker login gitea.awptechnologies.co -u ${{ vars.OWNER }} --password-stdin run: echo ${{ secrets.PIHOLE }} | docker login gitea.awptechnologies.co -u ${{ vars.OWNER }} --password-stdin
- name: Build Docker Image - name: Build Docker Image
run: docker build -t gitea.awptechnologies.co/${{ vars.OWNER }}/pihole-unbound:latest . run: docker build -t gitea.awptechnologies.co/${{ vars.OWNER }}/pihole-unbound:dev .
- name: Push Docker Image to Gitea - name: Push Docker Image to Gitea
run: docker push gitea.awptechnologies.co/${{ vars.OWNER }}/pihole-unbound:latest run: docker push gitea.awptechnologies.co/${{ vars.OWNER }}/pihole-unbound:dev