mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-26 11:50:18 +01:00
12
.github/workflows/build-and-publish.yml
vendored
12
.github/workflows/build-and-publish.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
runner: ubuntu-24.04-arm
|
||||
- platform: linux/riscv64
|
||||
runner: ubuntu-24.04-arm
|
||||
|
||||
|
||||
steps:
|
||||
- name: Prepare name for digest up/download
|
||||
run: |
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
images: |
|
||||
${{ env.dockerhub }}
|
||||
${{ env.ghcr }}
|
||||
${{ env.ghcr }}
|
||||
flavor: |
|
||||
latest=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
tags: |
|
||||
@@ -95,10 +95,10 @@ jobs:
|
||||
context: ./src/
|
||||
platforms: ${{ matrix.platform }}
|
||||
build-args: |
|
||||
PIHOLE_DOCKER_TAG=${{ steps.meta.outputs.version }}
|
||||
PIHOLE_DOCKER_TAG=${{ steps.meta.outputs.version }}
|
||||
FTL_BRANCH=${{ env.components_branch }}
|
||||
CORE_BRANCH=${{ env.components_branch }}
|
||||
WEB_BRANCH=${{ env.components_branch }}
|
||||
WEB_BRANCH=${{ env.components_branch }}
|
||||
PADD_BRANCH=${{ env.components_branch }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
outputs: |
|
||||
@@ -142,7 +142,7 @@ jobs:
|
||||
path: /tmp/digests
|
||||
pattern: digests-*
|
||||
merge-multiple: true
|
||||
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@@ -187,4 +187,4 @@ jobs:
|
||||
- name: Inspect images
|
||||
run: |
|
||||
docker buildx imagetools inspect ${{ env.dockerhub }}:${{ steps.meta.outputs.version }}
|
||||
docker buildx imagetools inspect ${{ env.ghcr }}:${{ steps.meta.outputs.version }}
|
||||
docker buildx imagetools inspect ${{ env.ghcr }}:${{ steps.meta.outputs.version }}
|
||||
|
||||
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
uses: actions/setup-python@v5.6.0
|
||||
with:
|
||||
python-version: "3.13"
|
||||
|
||||
|
||||
- name: Run black formatter
|
||||
run: |
|
||||
pip install black
|
||||
|
||||
18
.github/workflows/editorconfig.yml
vendored
Normal file
18
.github/workflows/editorconfig.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Editorconfig-Checker
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
|
||||
jobs:
|
||||
editorconfig-checker:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get editorconfig-checker
|
||||
uses: editorconfig-checker/action-editorconfig-checker@main # tag v1.0.0 is really out of date
|
||||
|
||||
- name: Run editorconfig-checker
|
||||
run: editorconfig-checker
|
||||
2
.github/workflows/housekeeping.yml
vendored
2
.github/workflows/housekeeping.yml
vendored
@@ -17,4 +17,4 @@ jobs:
|
||||
repository: ${{ github.repository }}
|
||||
untagged_only: true
|
||||
owner_type: org # or user
|
||||
except_untagged_multiplatform: true
|
||||
except_untagged_multiplatform: true
|
||||
|
||||
Reference in New Issue
Block a user