Update container registry login
Some checks failed
pipeline / build-and-push-images (push) Successful in 15s
pipeline / deploy (push) Has been cancelled

This commit is contained in:
2025-01-03 19:25:28 +01:00
parent ef8baa2020
commit 8d317569dd

View File

@@ -67,16 +67,12 @@ jobs:
echo "RIOT_API_KEY=${{ secrets.RIOT_API_KEY }}" >> .env echo "RIOT_API_KEY=${{ secrets.RIOT_API_KEY }}" >> .env
ls -la .env ls -la .env
- name: Log in to container registry - name: Docker Stack deploy
uses: docker/login-action@v3 uses: leonidgrishenkov/docker-stack-deploy@v1.2.3
with: with:
registry: https://git.vhaudiquet.fr registry: https://git.vhaudiquet.fr
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.PACKAGES_TOKEN }} password: ${{ secrets.PACKAGES_TOKEN }}
- name: Docker Stack deploy
uses: leonidgrishenkov/docker-stack-deploy@v1.2.3
with:
remote_host: docker-prod.local remote_host: docker-prod.local
remote_user: root remote_user: root
remote_private_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} remote_private_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}