Merge branch 'dev' into dev
This commit is contained in:
commit
bc9436bb81
|
@ -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
|
|
@ -1,11 +1,14 @@
|
||||||
name: Build and Publish (development-v6-nightly)
|
name: Build and Publish (development-v6-nightly)
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 5 * * *"
|
- cron: "0 5 * * *"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- development-v6
|
- development-v6
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- development-v6
|
||||||
|
|
||||||
env:
|
env:
|
||||||
dockerhub: ${{ secrets.DOCKERHUB_NAMESPACE }}/pihole
|
dockerhub: ${{ secrets.DOCKERHUB_NAMESPACE }}/pihole
|
||||||
|
|
Loading…
Reference in New Issue