Added SHA tags
This commit is contained in:
		
							parent
							
								
									262aaaf461
								
							
						
					
					
						commit
						263ec7cc6f
					
				
							
								
								
									
										12
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -15,7 +15,9 @@ steps: | |||||||
|     password: |     password: | ||||||
|       from_secret: docker_password |       from_secret: docker_password | ||||||
|     repo: dutchellie/proper-website-2 |     repo: dutchellie/proper-website-2 | ||||||
|     tags: latest |     tags:  | ||||||
|  |       - latest | ||||||
|  |       - ${DRONE_COMMIT_SHA:0:8} | ||||||
| 
 | 
 | ||||||
| - name: deploy-staging | - name: deploy-staging | ||||||
|   image: pelotech/drone-helm3 |   image: pelotech/drone-helm3 | ||||||
| @ -28,6 +30,8 @@ steps: | |||||||
|     values_files: |     values_files: | ||||||
| #      - .drone/helm/values.yaml | #      - .drone/helm/values.yaml | ||||||
|       - .drone/helm/staging-val.yaml |       - .drone/helm/staging-val.yaml | ||||||
|  |     values: | ||||||
|  |       - "image=dutchellie/proper-website-2:${DRONE_COMMIT_SHA:0:8}" | ||||||
|     kube_api_server: |     kube_api_server: | ||||||
|       from_secret: staging_api_server |       from_secret: staging_api_server | ||||||
|     kube_token: |     kube_token: | ||||||
| @ -58,7 +62,9 @@ steps: | |||||||
|     password: |     password: | ||||||
|       from_secret: docker_password |       from_secret: docker_password | ||||||
|     repo: dutchellie/proper-website-2 |     repo: dutchellie/proper-website-2 | ||||||
|     tags: latest |     tags:  | ||||||
|  |       - latest | ||||||
|  |       - ${DRONE_COMMIT_SHA:0:8} | ||||||
| 
 | 
 | ||||||
| - name: deploy-production | - name: deploy-production | ||||||
|   image: pelotech/drone-helm3 |   image: pelotech/drone-helm3 | ||||||
| @ -71,6 +77,8 @@ steps: | |||||||
|     values_files: |     values_files: | ||||||
| #      - .drone/helm/values.yaml | #      - .drone/helm/values.yaml | ||||||
|       - .drone/helm/prod-val.yaml |       - .drone/helm/prod-val.yaml | ||||||
|  |     values: | ||||||
|  |       - "image=dutchellie/proper-website-2:${DRONE_COMMIT_SHA:0:8}" | ||||||
|     kube_api_server: |     kube_api_server: | ||||||
|       from_secret: prod_api_server |       from_secret: prod_api_server | ||||||
|     kube_token: |     kube_token: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user