Skip to content

Commit

Permalink
test build
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Dec 8, 2023
1 parent 47a0473 commit 4aecce7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,16 @@ jobs:
##------------ special task for apphub begin----------------------#
- name: Trigger media.yml workflow
uses: mathze/[email protected]
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
Expand Down
6 changes: 5 additions & 1 deletion docker/apphub/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 && \
Expand Down

0 comments on commit 4aecce7

Please sign in to comment.