Skip to content

Commit

Permalink
docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
rise0chen committed Jan 1, 2025
1 parent d348266 commit 633a393
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: tj-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
name: publish
options: "-v .:/app -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 }}"
args: |
cd /app
bash ./ci.sh

0 comments on commit 633a393

Please sign in to comment.