mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-09 05:12:59 +08:00
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
|