Skip to content

Commit 6ec69cf

Browse files
authored
Merge pull request #165 from VectorInstitute/add_self_hosted_runner_for_docker_workflow
Adjust docker workflow to run on self-hosted VM
2 parents 3896a32 + b4a7a78 commit 6ec69cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ on:
2121
jobs:
2222
push_to_registry:
2323
name: Push Docker image to Docker Hub
24-
runs-on: ubuntu-latest
24+
runs-on:
25+
- self-hosted
26+
- docker
2527
steps:
2628
- name: Checkout repository
2729
uses: actions/checkout@v5.0.0
@@ -32,6 +34,9 @@ jobs:
3234
VERSION=$(grep -A 1 'name = "vllm"' uv.lock | grep version | cut -d '"' -f 2)
3335
echo "version=$VERSION" >> $GITHUB_OUTPUT
3436
37+
- name: Set up Docker Buildx
38+
uses: docker/setup-buildx-action@v3
39+
3540
- name: Log in to Docker Hub
3641
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
3742
with:

0 commit comments

Comments
 (0)