mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-09-29 16:21:32 +00:00
test build
This commit is contained in:
parent
47a0473fd4
commit
4aecce726f
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
@ -72,10 +72,16 @@ jobs:
|
|||
##------------ special task for apphub begin----------------------#
|
||||
- name: Trigger media.yml workflow
|
||||
uses: mathze/workflow-dispatch-action@v1.1.0
|
||||
id: startAndWaitWorkflow
|
||||
with:
|
||||
workflow-name: media.yml
|
||||
token: ${{github.token}}
|
||||
if: env.APP == 'apphub'
|
||||
run-id: dummy
|
||||
if: env.APP == 'apphub'
|
||||
|
||||
- name: Reuse workflow run id
|
||||
run: "echo ${{ steps.startAndWaitWorkflow.outputs.run-id }}"
|
||||
if: env.APP == 'apphub'
|
||||
|
||||
- name: Download media.zip from artifacts
|
||||
uses: Legit-Labs/action-download-artifact@v2
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
# modify time: 202312081856, you can modify here to trigger Docker Build action
|
||||
# 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: 202312081911, you can modify here to trigger Docker Build action
|
||||
|
||||
|
||||
FROM python:3.10-slim-bullseye
|
||||
|
@ -12,6 +15,7 @@ ENV websoft9_artifact="https://w9artifact.blob.core.windows.net/release/websoft9
|
|||
ENV library_repo="https://github.com/Websoft9/docker-library"
|
||||
ENV source_github_pages="https://websoft9.github.io/websoft9"
|
||||
|
||||
|
||||
COPY media.zip /websoft9
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends curl git jq cron iproute2 supervisor rsync wget unzip zip && \
|
||||
|
|
Loading…
Reference in a new issue