aaa
This commit is contained in:
		
							parent
							
								
									882981be06
								
							
						
					
					
						commit
						b62b824748
					
				| 
						 | 
					@ -13,9 +13,7 @@ jobs:
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: create .npmrc
 | 
					      - name: create .npmrc
 | 
				
			||||||
        run: 'echo -e "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN\n@preservetube:registry=https://npm.pkg.github.com/" > .secret_npmrc'
 | 
					        run: echo -e "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}\n@preservetube:registry=https://npm.pkg.github.com/" > .secret_npmrc
 | 
				
			||||||
        env:
 | 
					 | 
				
			||||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Login to GitHub Container Registry
 | 
					      - name: Login to GitHub Container Registry
 | 
				
			||||||
        uses: docker/login-action@v2
 | 
					        uses: docker/login-action@v2
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,6 +4,6 @@ RUN mkdir -p /usr/src/preservetube/metadata
 | 
				
			||||||
WORKDIR /usr/src/preservetube/metadata
 | 
					WORKDIR /usr/src/preservetube/metadata
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY . /usr/src/preservetube/metadata
 | 
					COPY . /usr/src/preservetube/metadata
 | 
				
			||||||
RUN yarn
 | 
					RUN -mount=type=secret,id=npmrc,target=/root/.npmrc yarn
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CMD ["node", "index.js"]
 | 
					CMD ["node", "index.js"]
 | 
				
			||||||
		Loading…
	
		Reference in New Issue