Use Gradle 7 Publish Package to GitLab | How to Publish a Java Project to GitLab Package Registry?

Опубликовано: 24 Октябрь 2024
на канале: Lian
1,455
13

In this video, I will run a hands-on demo Publish a Java Project to GitLab Package Registry.
After you finish the video, you are able to
Understand the GitLab Package Registry concept.
Add build information in MANIFEST.MF file to easily track the jar file build detail.
Use Gradle 7 to Build and Publish Jar Package to GitLab.

🧡 Subscribe to show your support! https://bit.ly/3hrhOmW

⏰ T I M E S T A M P S ⏰
Topics of this video
00:00 Start
00:56 What is Package Registry in GitLab?
01:33 How to Use Gradle Build and Publish a Jar to Registry Package to GitLab?
03:11 Hands-on Demo
04:04 Build Stage is in .gitlab-ci.yml
04:29 Deploy Stage is in .gitlab-ci.yml
04:57 Create a Deploy Token in GitLab
05:26 Create a CI/CD variable to store the Deploy Token
06:50 Summary
------------------------------------------------------------------------------------

Relate Video links:
🔗[How to Use Artifacts in GitLab Pipeline?](   • How to Use Artifacts in GitLab Pipeli...  )

------------------------------------------------------------------------------------

To Exercise Files, scan down below for the link to the GitHub repo.
👉🏼 Video content MD file: https://gitlab.com/lian.duan.training...

👉🏼 .gitlab-ci.yml file: https://gitlab.com/LianDuanTrainingGr...

👉🏼 .Gradle 7.4 User Manual: https://docs.gradle.org/7.4.2/usergui...

-----------------------------------------------------------------------------------

👉🏼Quick Share CI/CD Tips:
   • Quick Share CI/CD Tips  

Also, if you're new to Docker, Helm 3, or K8S, check out my guides below:

👉🏼Helm 3 Introduction and Installation
   • Helm 3 Introduction and Installation  

👉🏼Helm 3 Deep Dive
   • Helm 3 Deep Dive  

👉🏼Docker Tutorial for Beginners Step by Step
   • Docker Tutorial for Beginners Step by...  

👉🏼Docker Compose Tutorial
   • Docker Compose Tutorial  

👉🏼Install Minikube in Windows 10 via Docker Desktop
   • Install Minikube in Windows 10 via Do...  

👉🏼Kubernetes Minikube
   • Minikube  

👉🏼Kubernetes Core Concepts and Demo
   • Kubernetes Core Concepts and Demo  

👉🏼Kubernetes Advance and Demo
   • Kubernetes Adavance and Demo  

👋-----------------------------------------------------------------------------------
Easy Connect:
🏢 https://bit.ly/3tN3DeI
🐦 https://bit.ly/3LF2q1Z