mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:37:53 -04:00
add self-host runner workflow
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: "Docker and container hooks test"
|
||||
name: "Test self-hosted runner"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -10,10 +10,5 @@ jobs:
|
||||
container:
|
||||
image: docker:dind
|
||||
steps:
|
||||
- name: Show docker info
|
||||
run: |
|
||||
docker -v
|
||||
docker info
|
||||
docker ps
|
||||
- run: ls
|
||||
- run: pwd
|
||||
@@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends\
|
||||
software-properties-common \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Docker cli
|
||||
# Install Docker
|
||||
RUN install -m 0755 -d /etc/apt/keyrings \
|
||||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \
|
||||
&& chmod a+r /etc/apt/keyrings/docker.asc \
|
||||
|
||||
@@ -12,3 +12,5 @@ services:
|
||||
TARGET_ARCH: x64
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
group_add:
|
||||
- "${DOCKER_GID}"
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
PERSONAL_ACCESS_TOKEN=
|
||||
PERSONAL_ACCESS_TOKEN=
|
||||
DOCKER_GID=
|
||||
Reference in New Issue
Block a user