mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
test docker
This commit is contained in:
parent
6ff55a759d
commit
145a39bbd9
10
.github/workflows/docker.yml
vendored
10
.github/workflows/docker.yml
vendored
@ -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: |
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user