From 258e29c48f2102b92b91d94594628f8e646d2ffa Mon Sep 17 00:00:00 2001 From: rise0chen Date: Thu, 2 Jan 2025 08:07:24 +0800 Subject: [PATCH] docker run --- .github/workflows/publish.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f0d3124..d39af76 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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