21 lines
		
	
	
		
			640 B
		
	
	
	
		
			Docker
		
	
	
		
		
			
		
	
	
			21 lines
		
	
	
		
			640 B
		
	
	
	
		
			Docker
		
	
	
| 
								 | 
							
								ARG IMAGE
							 | 
						||
| 
								 | 
							
								FROM $IMAGE
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								LABEL "com.github.actions.name"="Unity - Builder"
							 | 
						||
| 
								 | 
							
								LABEL "com.github.actions.description"="Build Unity projects for different platforms."
							 | 
						||
| 
								 | 
							
								LABEL "com.github.actions.icon"="box"
							 | 
						||
| 
								 | 
							
								LABEL "com.github.actions.color"="gray-dark"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								LABEL "repository"="http://github.com/game-ci/unity-actions"
							 | 
						||
| 
								 | 
							
								LABEL "homepage"="http://github.com/game-ci/unity-actions"
							 | 
						||
| 
								 | 
							
								LABEL "maintainer"="Webber Takken <webber@takken.io>"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								COPY default-build-script /UnityBuilderAction
							 | 
						||
| 
								 | 
							
								COPY platforms/ubuntu/steps /steps
							 | 
						||
| 
								 | 
							
								RUN chmod -R +x /steps
							 | 
						||
| 
								 | 
							
								COPY platforms/ubuntu/entrypoint.sh /entrypoint.sh
							 | 
						||
| 
								 | 
							
								RUN chmod +x /entrypoint.sh
							 | 
						||
| 
								 | 
							
								RUN ls
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								ENTRYPOINT ["/entrypoint.sh"]
							 |