feat: Add registry config
This commit is contained in:
		
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -1,13 +1,21 @@
 | 
			
		||||
---
 | 
			
		||||
# drone encrypt kosssi/histoiredunpied $REGISTRY_PASSWORD
 | 
			
		||||
kind: secret
 | 
			
		||||
name: REGISTRY_PASSWORD
 | 
			
		||||
data: KfwWUQN54AA9BJakPJPagNNAS60amR1Iknerx0jESiupz+W+zn7EoEo4WMmXJVu043AxPcCbGlFN+KTmt8eyAOyXqWK3zMUoBXHYaPQa
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
# drone encrypt kosssi/histoiredunpied $REGISTRY_USER
 | 
			
		||||
kind: secret
 | 
			
		||||
name: REGISTRY_USER
 | 
			
		||||
data: DbrlPJuIlZPS9A/GYlSP0Og/SFJY8flEgEFrebtCa/AnOg==
 | 
			
		||||
 | 
			
		||||
#---
 | 
			
		||||
# drone encrypt kosssi/histoiredunpied "{\"auths\":{\"registry.lamelio.fr\":\"$(echo -n "$REGISTRY_USER:$REGISTRY_PASSWORD" | base64)\"}}"
 | 
			
		||||
#kind: secret
 | 
			
		||||
#name: REGISTRY_CONFIG
 | 
			
		||||
#data: rnuOlcgnrebLlAbHeZRqTtjjGFHgB1lMJUNMv6DJKQ592ZDeJxZQEQWpF1yw5b7LBp++9CoRp7c1+xywItddsYXKJdDXozHKpx5kt93ZroicG0WZN6HouBRq6Jcu/NXUx7H5KxN2/fDIvC+HxNok/6MjhdcBTf3ALpdd+57k1k+2ulPYjpLzzb+Goao=
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
@@ -19,7 +27,7 @@ platform:
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: install
 | 
			
		||||
  image: registry.lamelio.fr/kosssi/hugo
 | 
			
		||||
  image: kosssi/hugo:0.0.1
 | 
			
		||||
  commands:
 | 
			
		||||
  - git submodule update --init
 | 
			
		||||
  - (cd themes/hugo-theme-lowtech && npm i)
 | 
			
		||||
@@ -42,3 +50,6 @@ steps:
 | 
			
		||||
    auto_tag: true
 | 
			
		||||
    tags:
 | 
			
		||||
      - latest
 | 
			
		||||
 | 
			
		||||
# image_pull_secrets:
 | 
			
		||||
# - REGISTRY_CONFIG
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user