add self-host runner workflow

This commit is contained in:
Junya Morioka
2025-05-17 03:39:14 +09:00
parent ddde1424bc
commit 23fe096210
4 changed files with 6 additions and 8 deletions
@@ -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
+1 -1
View File
@@ -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 \
+2
View File
@@ -12,3 +12,5 @@ services:
TARGET_ARCH: x64
volumes:
- /var/run/docker.sock:/var/run/docker.sock
group_add:
- "${DOCKER_GID}"
+2 -1
View File
@@ -1 +1,2 @@
PERSONAL_ACCESS_TOKEN=
PERSONAL_ACCESS_TOKEN=
DOCKER_GID=