Skip to content

Commit

Permalink
Merge pull request #1443 from pi-hole/master
Browse files Browse the repository at this point in the history
Sync master back into development
  • Loading branch information
PromoFaux authored Oct 8, 2023
2 parents e06c072 + 832e3e5 commit 8439628
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/housekeeping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: housekeeping
on:
workflow_dispatch:

jobs:
housekeeping:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to GitHub Container Registry with PAT_TOKEN
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.PAT_TOKEN }}
-
name: Delete all containers from repository without tags
uses: Chizkiyahu/delete-untagged-ghcr-action@v2
with:
token: ${{ secrets.PAT_TOKEN }}
repository_owner: ${{ github.repository_owner }}
repository: ${{ github.repository }}
untagged_only: true
owner_type: org # or user
except_untagged_multiplatform: true
3 changes: 3 additions & 0 deletions .github/workflows/test-and-build-v6.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Build and Publish (development-v6-nightly)
on:
workflow_dispatch:
schedule:
- cron: "0 5 * * *"
push:
branches:
- development-v6
pull_request:
branches:
- development-v6

env:
dockerhub: ${{ secrets.DOCKERHUB_NAMESPACE }}/pihole
Expand Down

0 comments on commit 8439628

Please sign in to comment.