In the nix workflow, several diagnostic commands are added prior to the docker login attempt. This includes echoing the $PATH, checking the docker location with 'which', and listing /bin directory's contents. These are intended to troubleshoot potential issues in the continuous integration environment.
This commit is contained in:
		
							parent
							
								
									5a5f282f72
								
							
						
					
					
						commit
						d9d76faffa
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -7,6 +7,9 @@ jobs: | |||
|       - run: nix build -L .#runner | ||||
|       - name: upload image | ||||
|         run: | | ||||
|           echo $PATH | ||||
|           which docker | ||||
|           ls -al /bin | ||||
|           docker login -u ${{ secrets.REG_USER }} -p ${{ secrets.REG_TOKEN }} ${{ secrets.CI_REGISTRY }} | ||||
|           export IMAGE_TAG=$(docker load -i result | grep -Po 'Loaded image.*: \K.*') | ||||
|           echo "Pushing image ${IMAGE_TAG}" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue