Docker build update #6 (cache and cleanup)

This commit is contained in:
LukeGus
2024-12-07 01:42:16 -06:00
parent 87107b8cc2
commit b5da3994b0
2 changed files with 27 additions and 7 deletions

View File

@@ -79,12 +79,14 @@ jobs:
curl -d "Docker image build and push completed successfully for tag: ${{ env.IMAGE_TAG }}" \
https://ntfy.karmaashomepage.online/ssh-project-build
- uses: quartx-analytics/ghcr-cleaner@v1
- name: Delete all untagged image versions
uses: quartx-analytics/ghcr-cleaner@v1
with:
owner-type: user
token: ${{ secrets.PAT_TOKEN }}
repository_owner: ${{ github.repository_owner }}
token: ${{ secrets.GHCR_TOKEN }}
repository-owner: ${{ github.repository_owner }}
delete-untagged: true
keep-at-most: 0
- name: Cleanup Docker Images Locally
run: |