mirror of
				https://github.com/yeslayla/butler-publish-itchio-action.git
				synced 2025-11-04 16:43:06 +01:00 
			
		
		
		
	Merge pull request #4 from skarnl/feature/fix-butler-download-url
Fix butler download url
This commit is contained in:
		
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							@ -5,12 +5,15 @@ LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butl
 | 
			
		||||
LABEL "com.github.actions.icon"="upload"
 | 
			
		||||
LABEL "com.github.actions.color"="white"
 | 
			
		||||
 | 
			
		||||
RUN dnf install unzip -y
 | 
			
		||||
 | 
			
		||||
# Install Butler
 | 
			
		||||
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
 | 
			
		||||
RUN chmod +x /usr/bin/butler
 | 
			
		||||
RUN butler upgrade --assume-yes
 | 
			
		||||
RUN curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default \
 | 
			
		||||
    && unzip butler.zip \
 | 
			
		||||
    && cp butler /usr/bin \
 | 
			
		||||
    && chmod +x /usr/bin/butler
 | 
			
		||||
 | 
			
		||||
# Run butler push
 | 
			
		||||
ADD entrypoint.sh /entrypoint.sh
 | 
			
		||||
COPY entrypoint.sh /entrypoint.sh
 | 
			
		||||
RUN chmod +x entrypoint.sh
 | 
			
		||||
ENTRYPOINT ["/entrypoint.sh"]
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user