From 75304fb632883cd7ea310ca22d676c216f8b263b 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 19:56:25 +0800 Subject: [PATCH] test docker ps --- .gitea/workflows/ci.yaml | 4 ++-- .gitea/workflows/test.yaml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 911b9dc..089a81a 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* diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 394c807..5598bf6 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -5,6 +5,8 @@ on: [push] jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest + container: + image: ghcr.m.daocloud.io/catthehacker/ubuntu:act-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!" @@ -16,4 +18,5 @@ jobs: - name: List files in the repository run: | ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file + - run: echo "🍏 This job's status is ${{ job.status }}." + - run: docker ps \ No newline at end of file