From 2ddd9cd653635bc5596440253cf18a4d04dd742a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E9=87=8C=E8=B5=B0=E5=8D=95=E9=AA=91?= Date: Wed, 3 Apr 2024 01:45:27 +0800 Subject: [PATCH] k8s runs --- .gitea/workflows/ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index a3ccfba..e19dbbf 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -3,8 +3,8 @@ run-name: ${{ github.actor }} Gitea Actions 🚀🚀🚀 on: push: # Sequence of patterns matched against refs/heads - # branches: - # - main + branches: + - main # Sequence of patterns matched against refs/tags tags: - v* @@ -20,6 +20,10 @@ env: jobs: build: runs-on: ubuntu-latest + container: + image: ghcr.m.daocloud.io/catthehacker/ubuntu:act-latest + volumes: + - /var/run/user/1000/docker.sock:/var/run/docker.sock steps: # - name: 环境检测 # run: |