Skip to content

Commit

Permalink
docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
rise0chen committed Jan 2, 2025
1 parent d348266 commit 258e29c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ jobs:
with:
submodules: true
- name: Publish
uses: docker/build-push-action@v6
uses: mosteo-actions/docker-run@v2
with:
context: .
push: false
tags: lebai/plugin:latest
build-args: |
AWS_ENDPOINT=${{ secrets.AWS_ENDPOINT }}
AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}
image: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04
host-dir: "."
guest-dir: /app
params: "-e AWS_ENDPOINT=${{ secrets.AWS_ENDPOINT }} -e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} -e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}"
command: |
bash ./ci.sh

0 comments on commit 258e29c

Please sign in to comment.