mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	Merge pull request 'Add: Automation in Drone' (#63) from drone-test into main
Reviewed-on: https://codeberg.org/ashley/poke/pulls/63
This commit is contained in:
		
						commit
						3704363f74
					
				
							
								
								
									
										19
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| kind: pipeline | ||||
| type: exec | ||||
| name: Build and Push Docker Image (Quay) | ||||
| 
 | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
| 
 | ||||
| steps: | ||||
| - name: Build | ||||
|   environment: | ||||
|     QUAY_USERNAME: | ||||
|       from_secret: QUAY_USERNAME | ||||
|     QUAY_PASSWORD: | ||||
|       from_secret: QUAY_PASSWORD | ||||
|   commands: | ||||
|     - echo $QUAY_PASSWORD | docker login quay.io --username $QUAY_USERNAME --password-stdin | ||||
|     - docker build -t quay.io/sudovanilla/poketube . | ||||
|     - docker push quay.io/sudovanilla/poketube | ||||
| @ -25,7 +25,7 @@ RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg - | ||||
| RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list | ||||
| 
 | ||||
| RUN apt-get update | ||||
| RUN apt-get -y install nodejs | ||||
| RUN apt-get -y install nodejs npm | ||||
| 
 | ||||
| # Install Packages | ||||
| RUN npm install | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Korbs
						Korbs