add ci
This commit is contained in:
		
							
								
								
									
										14
									
								
								action.yml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								action.yml
									
									
									
									
									
								
							@@ -14,12 +14,14 @@ runs:
 | 
			
		||||
          username: ${{env.DOCKER_USER}}
 | 
			
		||||
          password: ${{env.DOCKER_PASS}}
 | 
			
		||||
 | 
			
		||||
      - shell: sh
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile
 | 
			
		||||
          echo "COPY dist /home" >> Dockerfile
 | 
			
		||||
          echo "WORKDIR /home" >> Dockerfile
 | 
			
		||||
          echo "ENTRYPOINT [\"./App\"]" >> Dockerfile
 | 
			
		||||
      - uses: docker://ubuntu
 | 
			
		||||
        with:
 | 
			
		||||
          entrypoint: "bash -c"
 | 
			
		||||
          args: |
 | 
			
		||||
            echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile
 | 
			
		||||
            echo "COPY dist /home" >> Dockerfile
 | 
			
		||||
            echo "WORKDIR /home" >> Dockerfile
 | 
			
		||||
            echo "ENTRYPOINT [\"./App\"]" >> Dockerfile
 | 
			
		||||
 | 
			
		||||
      - uses: docker://docker:cli
 | 
			
		||||
        with:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user