test docker ps

This commit is contained in:
千里走单骑 2024-04-02 19:56:25 +08:00
parent dc63e70186
commit 75304fb632
2 changed files with 6 additions and 3 deletions

View File

@ -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*

View File

@ -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 }}."
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: docker ps