🚀 add docker test

This commit is contained in:
felinae98
2023-04-03 19:30:24 +08:00
parent 46cc7c7fc4
commit a57f2aa21e
3 changed files with 45 additions and 0 deletions
+7
View File
@@ -142,10 +142,17 @@ jobs:
context: .
file: ./docker/Dockerfile_with_frontend
push: false
load: true
tags: felinae98/nonebot-bison:dummy
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Test image
uses: ./.github/actions/test-docker
with:
docker-image-name: felinae98/nonebot-bison:dummy
wait-time: 10
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1