Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
rise0chen committed Jan 1, 2025
1 parent 2e1e4c0 commit ffc6aaf
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
'

0 comments on commit ffc6aaf

Please sign in to comment.