I am creating a Jenkins pipeline to build an AngularJS project in an air-gapped environment. For this purpose, I would like to push the required dependencies to the GitLab package registry. Is it possible to do that, or are there any other options available to resolve the required dependencies in an air-gapped environment?
Asked
Active
Viewed 29 times
1 Answers
-1
you can publish and consume npm packages directly from GitLab's package registry
by adding the registry URL to your .npmrc file.
npm config set registry https://gitlab.example.com/api/v4/packages/npm/

Ihsan Bagus
- 13
- 2
-
but how can i push downloaded dependencies to the gitlab package registry? – rd17 Jul 18 '23 at 16:14