Skip to content

Commit eb9ca3a

Browse files
committed
Merge branch 'fix-backslash-python3.10' of https://github.com/codelion/optillm into fix-backslash-python3.10
2 parents d6c1151 + e45cb7f commit eb9ca3a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,29 @@ jobs:
7171
labels: ${{ steps.meta.outputs.labels }}
7272
cache-from: type=gha
7373
cache-to: type=gha,mode=max
74+
75+
# Extract metadata for slim image
76+
- name: Extract metadata for proxy_only Docker
77+
id: meta-proxy
78+
uses: docker/metadata-action@v5
79+
with:
80+
images: ghcr.io/${{ github.repository }}
81+
flavor: |
82+
suffix=-slim
83+
tags: |
84+
type=semver,pattern={{version}}
85+
type=semver,pattern={{major}}.{{minor}}
86+
latest
87+
88+
# Build and push slim image
89+
- name: Build and push proxy_only Docker image
90+
uses: docker/build-push-action@v5
91+
with:
92+
context: .
93+
file: Dockerfile.proxy_only
94+
push: true
95+
platforms: linux/amd64,linux/arm64
96+
tags: ${{ steps.meta-proxy.outputs.tags }}
97+
labels: ${{ steps.meta-proxy.outputs.labels }}
98+
cache-from: type=gha,scope=proxy
99+
cache-to: type=gha,scope=proxy,mode=max

0 commit comments

Comments
 (0)