test docker

This commit is contained in:
Darren 2023-12-11 07:57:57 +08:00 committed by GitHub
parent 6ff55a759d
commit 145a39bbd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -76,6 +76,7 @@ jobs:
##begin----------- special task for apphub----------------------#
- name: Trigger media.yml workflow
if: env.APP == 'apphub' && if env.MEDIA_FROM == 'source'
uses: mathze/workflow-dispatch-action@v1.1.0
id: startAndWaitWorkflow
with:
@ -83,20 +84,19 @@ jobs:
token: ${{github.token}}
run-id: dummy
wait-interval: PT10S
if: env.APP == 'apphub' && if env.MEDIA_FROM == 'source'
- name: Wait for Workflow
run: "echo ${{ steps.startAndWaitWorkflow.outputs.run-id }}"
if: env.APP == 'apphub' && if env.MEDIA_FROM == 'source'
run: "echo ${{ steps.startAndWaitWorkflow.outputs.run-id }}"
- name: Download media.zip from action artifact
uses: Legit-Labs/action-download-artifact@v2
if: env.APP == 'apphub' && if env.MEDIA_FROM == 'source'
with:
workflow: media.yml
name: media
path: ${{env.DIRECTORY}}
if: env.APP == 'apphub' && if env.MEDIA_FROM == 'source'
- name: Download media-latest.zip from Websoft9 artifact
if: env.MEDIA_FROM == 'artifact'
run: |

View File

@ -1,7 +1,7 @@
# This file can running at actions
# If you build this image on local, need download media.zip from WEBSOFT9_ARTIFACT to docker/apphub directory
# modify time: 202312110756, you can modify here to trigger Docker Build action
# modify time: 202312110757, you can modify here to trigger Docker Build action
FROM python:3.10-slim-bullseye