unifios-utilities/.github/workflows/pihole.yml

35 lines
913 B
YAML
Raw Normal View History

2021-05-25 18:59:36 +00:00
# This is a basic workflow to help you get started with Actions
name: Pihole Dockerbuild
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
paths:
2021-05-25 19:04:29 +00:00
- run-pihole/*
2021-05-25 18:59:36 +00:00
jobs:
buildx:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
-
name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: build pihole
2021-05-25 19:04:29 +00:00
run: docker buildx build --platform=linux/amd64,linux/arm64 run-pihole -t boostchicken/pihole:latest --push