diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 02a636d..d89d065 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,12 +11,14 @@ jobs: with: submodules: true - name: Publish - uses: tj-actions/docker-run@v2 + uses: mosteo-actions/docker-run@v2 with: 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: /bin/bash -c ' - cd /app + 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 - '