Skip to content

Commit df655ed

Browse files
committed
Fix Docker build workflow: remove incompatible output flag and update BuildKit version
1 parent 66386e8 commit df655ed

File tree

2 files changed

+552
-9
lines changed

2 files changed

+552
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ jobs:
149149
uses: docker/setup-buildx-action@v3
150150
with:
151151
driver-opts: |
152-
image=moby/buildkit:v0.12.0
153-
buildkitd-flags: --debug
152+
image=moby/buildkit:v0.13.0
154153
platforms: linux/amd64,linux/arm64
155154

156155
- name: Extract version
@@ -207,7 +206,6 @@ jobs:
207206
type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/ultrafast-ai-gateway:buildcache,mode=max
208207
provenance: false # Disable for faster builds
209208
sbom: false # Disable for faster builds
210-
outputs: type=docker,dest=/tmp/ultrafast-gateway.tar
211209
labels: |
212210
org.opencontainers.image.title=Ultrafast Gateway
213211
org.opencontainers.image.description=High-performance LLM gateway with advanced routing and caching
@@ -219,17 +217,18 @@ jobs:
219217
org.opencontainers.image.created=${{ steps.timestamp.outputs.iso8601 }}
220218
maintainer=techgopal <techgopal2@gmail.com>
221219
222-
- name: Verify image
220+
- name: Verify images
223221
run: |
224-
echo "Verifying built image..."
225-
docker load --input /tmp/ultrafast-gateway.tar
226-
docker images | grep ultrafast-gateway
222+
echo "Verifying built images..."
223+
echo "GHCR Images:"
224+
docker images | grep ghcr.io || echo "No local GHCR images found"
225+
echo "Docker Hub Images:"
226+
docker images | grep ultrafast-ai-gateway || echo "No local Docker Hub images found"
227227
echo "Image verification complete"
228228
229229
- name: Cleanup
230230
run: |
231-
echo "Cleaning up temporary files..."
232-
rm -f /tmp/ultrafast-gateway.tar
231+
echo "Cleaning up Docker system..."
233232
docker system prune -f
234233
235234

0 commit comments

Comments
 (0)