diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 5123a6be..6a8d92d7 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -60,6 +60,24 @@ jobs:
fi
echo "IMAGE_TAG=$IMAGE_TAG" >> $GITHUB_ENV
+ - name: Cache ghcr-cleaner
+ uses: actions/cache@v3
+ with:
+ path: /usr/local/bin/ghcr-cleaner
+ key: ghcr-cleaner-${{ runner.os }}-${{ hashFiles('path/to/ghcr-cleaner-version-file') }}
+ restore-keys: |
+ ghcr-cleaner-${{ runner.os }}-
+
+ - name: Download ghcr-cleaner if not cached
+ run: |
+ if ! command -v ghcr-cleaner &> /dev/null; then
+ echo "ghcr-cleaner not found, downloading..."
+ curl -L https://github.com/quartz-analytics/ghcr-cleaner/releases/download/v1.0.0/ghcr-cleaner-linux-amd64 -o /usr/local/bin/ghcr-cleaner
+ chmod +x /usr/local/bin/ghcr-cleaner
+ else
+ echo "ghcr-cleaner found, skipping download"
+ fi
+
- name: Build and Push Docker Image with Cache
uses: docker/build-push-action@v2
with:
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 116bbfe3..a6c7b92c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,9 @@
-
+
+
-
@@ -115,7 +115,7 @@
1733439468142
-
+
@@ -285,7 +285,15 @@
1733557558085
-
+
+
+ 1733557773727
+
+
+
+ 1733557773727
+
+
@@ -331,6 +339,7 @@
-
+
+
\ No newline at end of file