Initial commit
This commit is contained in:
		
							
								
								
									
										15
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| ARG GOLANG_VERSION=1.24 | ||||
|  | ||||
| FROM golang:${GOLANG_VERSION} as build | ||||
|  | ||||
| COPY . /src | ||||
| WORKDIR /src | ||||
|  | ||||
| RUN go build ./cmd/github-release | ||||
|  | ||||
| FROM scratch | ||||
|  | ||||
| COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||||
| COPY --from=build /src/github-release /bin/github-release | ||||
|  | ||||
| ENTRYPOINT ["/bin/github-release"] | ||||
		Reference in New Issue
	
	Block a user