test build

This commit is contained in:
Darren 2023-12-08 19:11:56 +08:00 committed by GitHub
parent 47a0473fd4
commit 4aecce726f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -72,10 +72,16 @@ jobs:
##------------ special task for apphub begin----------------------# ##------------ special task for apphub begin----------------------#
- name: Trigger media.yml workflow - name: Trigger media.yml workflow
uses: mathze/workflow-dispatch-action@v1.1.0 uses: mathze/workflow-dispatch-action@v1.1.0
id: startAndWaitWorkflow
with: with:
workflow-name: media.yml workflow-name: media.yml
token: ${{github.token}} 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 - name: Download media.zip from artifacts
uses: Legit-Labs/action-download-artifact@v2 uses: Legit-Labs/action-download-artifact@v2

View file

@ -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 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 library_repo="https://github.com/Websoft9/docker-library"
ENV source_github_pages="https://websoft9.github.io/websoft9" ENV source_github_pages="https://websoft9.github.io/websoft9"
COPY media.zip /websoft9 COPY media.zip /websoft9
RUN apt update && apt install -y --no-install-recommends curl git jq cron iproute2 supervisor rsync wget unzip zip && \ RUN apt update && apt install -y --no-install-recommends curl git jq cron iproute2 supervisor rsync wget unzip zip && \