From 9d08fcb03f1305aa759de418d540692105fe6c6c 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: Tue, 2 Apr 2024 23:09:07 +0800 Subject: [PATCH] test k8s --- .gitea/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 5598bf6..b850f68 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -4,9 +4,8 @@ on: [push] jobs: Explore-Gitea-Actions: - runs-on: ubuntu-latest - container: - image: ghcr.m.daocloud.io/catthehacker/ubuntu:act-latest + runs-on: k8s # <-- Used runner label + container: ubuntu:latest steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" @@ -19,4 +18,5 @@ jobs: run: | ls ${{ gitea.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}." + - run: apt update && apt install -y git - run: docker ps \ No newline at end of file