Someone told me to do this
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
#
 | 
			
		||||
  #
 | 
			
		||||
name: Build Docker Image and Deploy
 | 
			
		||||
 | 
			
		||||
# Configures this workflow to run every time a change is pushed to main.
 | 
			
		||||
@@ -61,6 +61,9 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          ssh-private-key: ${{ secrets.SSH_PRIV_KEY }}
 | 
			
		||||
 | 
			
		||||
      - name: agentttest
 | 
			
		||||
        run: ssh-add -l
 | 
			
		||||
 | 
			
		||||
      - 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 }}"
 | 
			
		||||
      - name: Pull new image
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user