mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 20:06:12 +08:00
🐛 分支应该是main而不是master 💄 auto fix by pre-commit hooks 🔥 dependabot.yml的registrys需要token,先删除
20 lines
452 B
YAML
20 lines
452 B
YAML
name: Test Docker Image
|
|
description: Test the given docker image can run
|
|
|
|
inputs:
|
|
docker-image-name:
|
|
description: which docker image to test
|
|
required: true
|
|
wait-time:
|
|
description: how many seconds to wait for
|
|
required: true
|
|
default: "5"
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: run test
|
|
run: |
|
|
${{ github.action_path }}/test_docker.sh ${{ inputs.docker-image-name}} ${{ inputs.wait-time }}
|
|
shell: bash
|