skip to Main Content

How to access Gitlab Package Registry from CI/CD Dockerfile?

I set up a Package Registry in gitlab that contains a my-commons.jar, making use of it in my project as follows: pom.xml: <repositories> <repository> <id>gitlab-maven</id> <url>https://git.my-company.com/api/v4/projects/295/packages/maven</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.my.company</groupId> <artifactId>my-commons</artifactId> <version>1.0.0</version> </dependency> </dependencies> This also requires the use…

VIEW QUESTION
Back To Top
Search