Switched ci over to pnpm cache
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							
								
								
									
										41
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										41
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -12,6 +12,13 @@ get:
 | 
			
		||||
  path: odit-registry-builder
 | 
			
		||||
  name: password
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
kind: secret
 | 
			
		||||
name: npm_url
 | 
			
		||||
get:
 | 
			
		||||
  path: odit-npm-cache
 | 
			
		||||
  name: url
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: kubernetes
 | 
			
		||||
@@ -26,6 +33,9 @@ steps:
 | 
			
		||||
        from_secret: docker_username
 | 
			
		||||
      password:
 | 
			
		||||
        from_secret: docker_password
 | 
			
		||||
      build_args:
 | 
			
		||||
        - NPM_REGISTRY_URL:
 | 
			
		||||
          from_secret: npm_url
 | 
			
		||||
      repo: registry.odit.services/lfk/beamershow
 | 
			
		||||
      tags:
 | 
			
		||||
        - dev
 | 
			
		||||
@@ -37,6 +47,34 @@ trigger:
 | 
			
		||||
  event:
 | 
			
		||||
    - push
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: kubernetes
 | 
			
		||||
name: build:latest
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  - name: build latest
 | 
			
		||||
    image: plugins/docker
 | 
			
		||||
    depends_on: [clone]
 | 
			
		||||
    settings:
 | 
			
		||||
      username:
 | 
			
		||||
        from_secret: docker_username
 | 
			
		||||
      password:
 | 
			
		||||
        from_secret: docker_password
 | 
			
		||||
      build_args:
 | 
			
		||||
        - NPM_REGISTRY_URL:
 | 
			
		||||
          from_secret: npm_url
 | 
			
		||||
      repo: registry.odit.services/lfk/beamershow
 | 
			
		||||
      tags:
 | 
			
		||||
        - latest
 | 
			
		||||
      registry: registry.odit.services
 | 
			
		||||
      mtu: 1000
 | 
			
		||||
trigger:
 | 
			
		||||
  branch:
 | 
			
		||||
    - main
 | 
			
		||||
  event:
 | 
			
		||||
    - push
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: kubernetes
 | 
			
		||||
@@ -50,6 +88,9 @@ steps:
 | 
			
		||||
        from_secret: docker_username
 | 
			
		||||
      password:
 | 
			
		||||
        from_secret: docker_password
 | 
			
		||||
      build_args:
 | 
			
		||||
        - NPM_REGISTRY_URL:
 | 
			
		||||
          from_secret: npm_url
 | 
			
		||||
      repo: registry.odit.services/lfk/beamershow
 | 
			
		||||
      tags:
 | 
			
		||||
        - '${DRONE_TAG}'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user