You've already forked git-docker
							
							fix: disable aws integration
	
		
			
	
		
	
	
		
	
		
			Some checks reported errors
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build was killed
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported errors
		
		
	
	continuous-integration/drone/push Build was killed
				
			This commit is contained in:
		| @@ -1,6 +1,5 @@ | |||||||
| FROM docker.io/library/alpine:3.18.4 | FROM docker.io/library/alpine:3.18.4 | ||||||
| RUN apk add --no-cache \ | RUN apk add --no-cache \ | ||||||
|       aws-cli \ |  | ||||||
|       bash \ |       bash \ | ||||||
|       ca-certificates \ |       ca-certificates \ | ||||||
|       curl \ |       curl \ | ||||||
|   | |||||||
| @@ -45,17 +45,17 @@ if [[ -n "${DRONE_SSH_KEY}" ]]; then | |||||||
| 	ssh-keyscan -H "${DRONE_NETRC_MACHINE}" > /etc/ssh/ssh_known_hosts 2> /dev/null | 	ssh-keyscan -H "${DRONE_NETRC_MACHINE}" > /etc/ssh/ssh_known_hosts 2> /dev/null | ||||||
| fi | fi | ||||||
|  |  | ||||||
| # AWS codecommit support using AWS access key & secret key | # # AWS codecommit support using AWS access key & secret key | ||||||
| # Refer: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html | # # Refer: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html | ||||||
|  |  | ||||||
| if [[ -n "${DRONE_AWS_ACCESS_KEY}" ]]; then | # if [[ -n "${DRONE_AWS_ACCESS_KEY}" ]]; then | ||||||
| 	aws configure set aws_access_key_id "${DRONE_AWS_ACCESS_KEY}" | # 	aws configure set aws_access_key_id "${DRONE_AWS_ACCESS_KEY}" | ||||||
| 	aws configure set aws_secret_access_key "${DRONE_AWS_SECRET_KEY}" | # 	aws configure set aws_secret_access_key "${DRONE_AWS_SECRET_KEY}" | ||||||
| 	aws configure set default.region "${DRONE_AWS_REGION}" | # 	aws configure set default.region "${DRONE_AWS_REGION}" | ||||||
|  |  | ||||||
| 	git config --global credential.helper '!aws codecommit credential-helper $@' | # 	git config --global credential.helper '!aws codecommit credential-helper $@' | ||||||
| 	git config --global credential.UseHttpPath true | # 	git config --global credential.UseHttpPath true | ||||||
| fi | # fi | ||||||
|  |  | ||||||
| # configure git global behavior and parameters via the | # configure git global behavior and parameters via the | ||||||
| # following environment variables: | # following environment variables: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user