Skip to content

Commit 316c77a

Browse files
committed
Add debug step
1 parent d30cf50 commit 316c77a

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

.github/workflows/build-push-vllm-cpu.yml

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,38 @@ jobs:
3636
username: ${{ github.actor }}
3737
password: ${{ secrets.GITHUB_TOKEN }}
3838

39-
- name: Calculate metadata for image
40-
id: image-meta
41-
uses: docker/metadata-action@v5
42-
with:
43-
images: ghcr.io/stackhpc/vllm-cpu
44-
# Produce the branch name or tag and the SHA as tags
45-
tags: |
46-
type=raw,value=${{ inputs.vllm_ref }}
39+
- name: Debug
40+
run: |
41+
pwd
42+
git log -n1
43+
docker build -f Dockerfile.cpu -t vllm-cpu --shm-size=4g .
4744
48-
- name: Build and push image x86 image
49-
uses: azimuth-cloud/github-actions/docker-multiarch-build-push@master
50-
with:
51-
cache-key: vllm-cpu
52-
file: Dockerfile.cpu
53-
platforms: linux/amd64
54-
push: true
55-
tags: ${{ steps.image-meta.outputs.tags }}
56-
labels: ${{ steps.image-meta.outputs.labels }}
45+
# - name: Calculate metadata for image
46+
# id: image-meta
47+
# uses: docker/metadata-action@v5
48+
# with:
49+
# images: ghcr.io/stackhpc/vllm-cpu
50+
# # Produce the branch name or tag and the SHA as tags
51+
# tags: |
52+
# type=raw,value=${{ inputs.vllm_ref }}
5753

58-
# TODO: Test whether this works
59-
# - name: Build and push Arm image
54+
# - name: Build and push image x86 image
6055
# uses: azimuth-cloud/github-actions/docker-multiarch-build-push@master
6156
# with:
6257
# cache-key: vllm-cpu
6358
# file: Dockerfile.cpu
64-
# platforms: linux/arm64
59+
# platforms: linux/amd64
6560
# push: true
6661
# tags: ${{ steps.image-meta.outputs.tags }}
6762
# labels: ${{ steps.image-meta.outputs.labels }}
63+
64+
# # TODO: Test whether this works
65+
# # - name: Build and push Arm image
66+
# # uses: azimuth-cloud/github-actions/docker-multiarch-build-push@master
67+
# # with:
68+
# # cache-key: vllm-cpu
69+
# # file: Dockerfile.cpu
70+
# # platforms: linux/arm64
71+
# # push: true
72+
# # tags: ${{ steps.image-meta.outputs.tags }}
73+
# # labels: ${{ steps.image-meta.outputs.labels }}

0 commit comments

Comments
 (0)