10 Commits

Author SHA1 Message Date
a5b1c7006e fix image name
Some checks failed
Build and Push spark-vllm / docker (push) Failing after 6m2s
2026-05-11 15:04:37 -05:00
ee6129d54e push run num
Some checks failed
Build and Push spark-vllm / docker (push) Has been cancelled
2026-05-11 15:03:02 -05:00
f30289ec57 fix tag and push
Some checks failed
Build and Push spark-vllm / docker (push) Failing after 30s
2026-05-11 15:01:19 -05:00
97e6afcf3b fix label
Some checks failed
Build and Push spark-vllm / docker (push) Failing after 7m12s
2026-05-11 14:50:08 -05:00
eae788259a run job on arm64
Some checks failed
Build and Push spark-vllm / docker (push) Has been cancelled
2026-05-11 14:48:16 -05:00
896cdefedf build on arm64
Some checks failed
Build and Push spark-vllm / docker (push) Failing after 1m30s
2026-05-11 14:40:20 -05:00
d3dbfb682a set docker platform to arm64
Some checks failed
Build and Push spark-vllm / docker (push) Failing after 4m39s
2026-05-11 14:34:17 -05:00
0bb0da779e run using bash
Some checks failed
Build and Push spark-vllm / docker (push) Failing after 15m0s
2026-05-11 13:40:42 -05:00
f307d8dc76 Merge branch 'main' of gitea.corredorconect.com:software-engineering/spark-vllm-docker
Some checks failed
Build and Push spark-vllm / docker (push) Failing after 4s
2026-05-11 13:21:53 -05:00
1d0fe50d46 login using action 2026-05-11 13:21:19 -05:00
2 changed files with 25 additions and 24 deletions

View File

@@ -7,47 +7,47 @@ on:
workflow_dispatch:
env:
IMAGE_NAME: spark-vllm
IMAGE_NAME: spark-vllm-docker
IMAGE_TAG: latest
jobs:
docker:
runs-on: nix
runs-on: dgx
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login \
${{ secrets.REGISTRY_HOST }} \
-u "${{ secrets.REGISTRY_USERNAME }}" \
--password-stdin
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ github.server_url }}
username: ${{ secrets.CI_USER }}
password: ${{ secrets.CI_PASSWORD }}
- name: Make build script executable
run: chmod +x build-and-copy.sh
- name: Build image using upstream script
env:
DOCKER_DEFAULT_PLATFORM: linux/arm64
run: |
./build-and-copy.sh -t ${IMAGE_NAME}:${IMAGE_TAG}
bash build-and-copy.sh -t ${IMAGE_NAME}:${IMAGE_TAG}
- name: Tag image
- name: Tag and Push Docker Image
shell: bash
run: |
docker tag \
${IMAGE_NAME}:${IMAGE_TAG} \
${{ secrets.REGISTRY_HOST }}/${IMAGE_NAME}:${IMAGE_TAG}
VERSION=${{ github.run_number }}
REGISTRY=${GITHUB_SERVER_URL#https://}
TARGET_IMAGE=$REGISTRY/${{ github.repository_owner }}/${IMAGE_NAME}
docker tag \
${IMAGE_NAME}:${IMAGE_TAG} \
${{ secrets.REGISTRY_HOST }}/${IMAGE_NAME}:${GITEA_SHA::7}
$TARGET_IMAGE:$VERSION
- name: Push latest
run: |
docker push \
${{ secrets.REGISTRY_HOST }}/${IMAGE_NAME}:${IMAGE_TAG}
docker tag \
${IMAGE_NAME}:${IMAGE_TAG} \
$TARGET_IMAGE:latest
- name: Push commit SHA
run: |
docker push \
${{ secrets.REGISTRY_HOST }}/${IMAGE_NAME}:${GITEA_SHA::7}
docker push $TARGET_IMAGE:$VERSION
docker push $TARGET_IMAGE:latest

View File

@@ -471,6 +471,7 @@ fi
COMMON_BUILD_FLAGS+=("--build-arg" "BUILD_JOBS=$BUILD_JOBS")
COMMON_BUILD_FLAGS+=("--build-arg" "TORCH_CUDA_ARCH_LIST=$GPU_ARCH_LIST")
COMMON_BUILD_FLAGS+=("--build-arg" "FLASHINFER_CUDA_ARCH_LIST=$GPU_ARCH_LIST")
COMMON_BUILD_FLAGS+=("--platform" "linux/arm64")
if [ -n "$NETWORK_ARG" ]; then
COMMON_BUILD_FLAGS+=("--network" "$NETWORK_ARG")
fi