Skip to content

Commit

Permalink
.github/workflows/push-docker-image-manual.yml added params
Browse files Browse the repository at this point in the history
.github/workflows/push-docker-image-release.yml fixed config file path
  • Loading branch information
fb929 committed Feb 12, 2024
1 parent 1eef90c commit 786b030
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/push-docker-image-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ jobs:
uses: anyproto/any-sync-node/.github/workflows/push-docker-image-reusable.yml@main
with:
release: ${{ github.event.inputs.release }}
dockerfile-image: ubuntu:22.04
dockerfile-run: apt-get update && apt-get install -y python3 libpython3-dev
dockerfile-cmd: /opt/venv/any-sync-admin/bin/uwsgi --master --http 0.0.0.0:5000 --uid www-data --chdir /opt/venv/any-sync-admin/web --env CONFIG_FILE=/etc/any-sync-admin/config.yml --module wsgi:app
4 changes: 2 additions & 2 deletions .github/workflows/push-docker-image-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: push-docker-image-release

jobs:
push-docker-image-release:
uses: anyproto/any-sync-node/.github/workflows/push-docker-image-reusable.yml@editWorkflowPush-docker-image-reusable
uses: anyproto/any-sync-node/.github/workflows/push-docker-image-reusable.yml@main
secrets: inherit
with:
release: ${{ github.event.release.tag_name }}
dockerfile-image: ubuntu:22.04
dockerfile-run: apt-get update && apt-get install -y python3 libpython3-dev
dockerfile-cmd: /opt/venv/any-sync-admin/bin/uwsgi --master --http 0.0.0.0:5000 --uid www-data --chdir /opt/venv/any-sync-admin/web --env CONFIG_FILE=${CONFIG_FILE} --module wsgi:app
dockerfile-cmd: /opt/venv/any-sync-admin/bin/uwsgi --master --http 0.0.0.0:5000 --uid www-data --chdir /opt/venv/any-sync-admin/web --env CONFIG_FILE=/etc/any-sync-admin/config.yml --module wsgi:app

0 comments on commit 786b030

Please sign in to comment.