Skip to content

Commit

Permalink
Merge pull request #141 from codelion/codelion-patch-1
Browse files Browse the repository at this point in the history
Update publish.yml
  • Loading branch information
codelion authored Jan 21, 2025
2 parents 3dfcda3 + 7732664 commit 744d810
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
latest
type=raw,value=latest
# Build and push proxy image
- name: Build and push proxy_only Docker image
Expand All @@ -77,6 +77,16 @@ jobs:
cache-from: type=gha,scope=proxy
cache-to: type=gha,scope=proxy,mode=max

# Add cleanup steps after proxy build
- name: Clean up disk space after proxy build
run: |
# Remove all unused docker data including stopped containers, unused networks, dangling images, and build cache
docker system prune -af
# Remove all unused build cache
docker builder prune -af
# Optional: If you need more aggressive cleanup
rm -rf /tmp/*
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="optillm",
version="0.0.28",
version="0.0.29",
packages=find_packages(),
py_modules=['optillm'],
package_data={
Expand Down

0 comments on commit 744d810

Please sign in to comment.