Debugging
Some checks failed
Build Docker Image and Deploy / Build Image and push to Registry (push) Successful in 28s
Build Docker Image and Deploy / Deploy on webserver (push) Failing after 9s

This commit is contained in:
Cyril Šebek 2024-07-07 22:05:51 +02:00
parent 290ee75d98
commit ed8449e1ce
Signed by: blboun3
SSH Key Fingerprint: SHA256:n9dMtOPzgsD+CCerUJslEnU2dzVanbaIv0XDQVRVjeg

View File

@ -62,7 +62,7 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIV_KEY }} ssh-private-key: ${{ secrets.SSH_PRIV_KEY }}
- name: Login to registry - name: Login to registry
run: ssh ${{ vars.TARGET_USER }}@${{ vars.TARGET }} -o StrictHostKeyChecking=no "docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} ${{ vars.REGISTRY }}" run: ssh ${{ vars.TARGET_USER }}@${{ vars.TARGET }} -vvv -o StrictHostKeyChecking=no "docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} ${{ vars.REGISTRY }}"
- name: Pull new image - name: Pull new image
run: ssh ${{ vars.TARGET_USER }}@{{ vars.TARGET }} -o StrictHostKeyChecking=no "docker pull ${{ vars.REGISTRY }}/${{ env.IMAGE_NAME }}:latest" run: ssh ${{ vars.TARGET_USER }}@{{ vars.TARGET }} -o StrictHostKeyChecking=no "docker pull ${{ vars.REGISTRY }}/${{ env.IMAGE_NAME }}:latest"
- name: Logout from registry - name: Logout from registry