Skip to content

Commit

Permalink
Cleanup Docker Build Cache
Browse files Browse the repository at this point in the history
Cleanup Docker Build Cache

Signed-off-by: Ashot <119669009+aaloyan@users.noreply.github.com>
  • Loading branch information
aaloyan authored Jan 17, 2024
1 parent 8913238 commit 68b70f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,6 @@ jobs:
# Remove all Docker images except the latest one
docker rmi -f $(docker images --format '{{.ID}}' --filter=reference=${{ env.DOCKER_REPO_BASE }}/${{ env.DOCKER_REPO_PATH }}/${{ github.event.repository.name }} | grep -v ${LATEST_IMAGE}) || true

- name: Cleanup Docker Build Cache
run: docker builder prune -af

0 comments on commit 68b70f1

Please sign in to comment.