fix: login to registry in deploy step to bypass gpg passphrase prompt
This commit is contained in:
parent
5f553930c2
commit
14d1837ee9
1 changed files with 2 additions and 1 deletions
|
|
@ -66,4 +66,5 @@ jobs:
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
|
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
|
||||||
"cd ~/lila-app && docker compose pull api web && docker compose up -d api web && docker image prune -f"
|
"docker login git.lilastudy.com -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} && \
|
||||||
|
cd ~/lila-app && docker compose pull api web && docker compose up -d api web && docker image prune -f"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue