Docker build update #5 (cache and cleanup)

This commit is contained in:
LukeGus
2024-12-07 01:35:16 -06:00
parent 87107b8cc2
commit 1820f36155
2 changed files with 17 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 }}
repository-owner: ${{ github.repository_owner }}
delete-untagged: true
keep-at-most: 0
- name: Cleanup Docker Images Locally
run: |

18
.idea/workspace.xml generated
View File

@@ -4,9 +4,8 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="8497df64-d86b-4c98-ac58-c157d9d3fb1e" name="Changes" comment="Docker build update #3">
<list default="true" id="8497df64-d86b-4c98-ac58-c157d9d3fb1e" name="Changes" comment="Docker build update #4 (cache and cleanup)">
<change beforePath="$PROJECT_DIR$/.github/workflows/docker-image.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.github/workflows/docker-image.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -115,7 +114,7 @@
<updated>1733439468142</updated>
<workItem from="1733439479708" duration="5489000" />
<workItem from="1733448523969" duration="3535000" />
<workItem from="1733549186397" duration="6475000" />
<workItem from="1733549186397" duration="6687000" />
</task>
<task id="LOCAL-00001" summary="Nano zoom fix #11">
<option name="closed" value="true" />
@@ -245,7 +244,15 @@
<option name="project" value="LOCAL" />
<updated>1733556428424</updated>
</task>
<option name="localTasksCounter" value="17" />
<task id="LOCAL-00017" summary="Docker build update #4 (cache and cleanup)">
<option name="closed" value="true" />
<created>1733556699034</created>
<option name="number" value="00017" />
<option name="presentableId" value="LOCAL-00017" />
<option name="project" value="LOCAL" />
<updated>1733556699034</updated>
</task>
<option name="localTasksCounter" value="18" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@@ -287,6 +294,7 @@
<MESSAGE value="Docker build update" />
<MESSAGE value="Docker build update #2" />
<MESSAGE value="Docker build update #3" />
<option name="LAST_COMMIT_MESSAGE" value="Docker build update #3" />
<MESSAGE value="Docker build update #4 (cache and cleanup)" />
<option name="LAST_COMMIT_MESSAGE" value="Docker build update #4 (cache and cleanup)" />
</component>
</project>