Install mc to /usr/local/bin
This commit is contained in:
		
							parent
							
								
									ea4f43b65b
								
							
						
					
					
						commit
						1f4fafcee5
					
				|  | @ -5,7 +5,8 @@ RUN apt-get update && \ | ||||||
| 
 | 
 | ||||||
| RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc \ | RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc \ | ||||||
|     && chmod +x mc \ |     && chmod +x mc \ | ||||||
|     && ./mc --help |     && mv mc /usr/local/bin/ \ | ||||||
|  |     && mc --help | ||||||
| 
 | 
 | ||||||
| # Copies your code file from your action repository to the filesystem path `/` of the container | # Copies your code file from your action repository to the filesystem path `/` of the container | ||||||
| COPY entrypoint.sh /entrypoint.sh | COPY entrypoint.sh /entrypoint.sh | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| 
 | 
 | ||||||
| ./mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY | mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY | ||||||
| 
 | 
 | ||||||
| ./mc mirror --overwrite $1 "deploy/$2" | mc mirror --overwrite $1 "deploy/$2" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Haralan Dobrev
						Haralan Dobrev