doc(support): added doc for handling packages

This commit is contained in:
Stephan Lo 2025-07-16 12:42:38 +00:00
parent 63aa0153c2
commit a4e22cc7b6

View file

@ -8,7 +8,7 @@ Forgejo ist das Portal der Plattform, das Git, Continuous Integration und Projek
---
## 1. Dein Nutzerkonto
## 1. Dein Nutzerkonto
Wir sind in einem 'Friendly-User-Test'.
@ -17,7 +17,7 @@ Wir sind in einem 'Friendly-User-Test'.
---
## 🏢 2. Organisationen
## 2. Organisationen
Wir organisieren unsere Projekte in **Organisationen**, z.B. `my-org`. Die Namen der Organisation sind global im ganzen EDP, d.h. der Name, den du vergibst, ist einmalig.
@ -25,7 +25,7 @@ Du kannst Organisationen anlegen und andere EDP-User als Mitglieder über Teams
---
## 👥 3. Rollen & Teams
## 3. Rollen & Teams
Innerhalb jeder Organisation gibt es Teams mit verschiedenen Rechten, Das Team 'Owner' ist per se vorhanden und nicht löschbar.
@ -39,7 +39,7 @@ Weitere Teams kannst du als Mitglied der Owner anlegen und damit die Organisatio
---
## 📂 4. Repositories
## 4. Repositories
Repos sind entweder öffentlich, oder privat innerhalb der Organisation oder für dich selbst.
@ -53,15 +53,37 @@ Das Clonen geht dann so:
```
# clone with user creds - alternative: use credential-manager
git clone https://<user>:$PWD@edp.buildth.ing/<user | org>/repo.git
USER=<your username>
PWD=<your password>
git clone https://$USER:$PWD@edp.buildth.ing/<user | org>/<repo.git>
# clone with your personal PAT which you created in your 'Settings -> Applications'
git clone https://<user>:$PAT@edp.buildth.ing/<user | org>/repo.git
PAT=<your private access token>
git clone https://$USER:$PAT@edp.buildth.ing/<user | org>/<repo.git>
```
---
## Workflows / CI
## 5. Package Management
Forgejo bringt ain [Package Managment](https://forgejo.org/docs/latest/user/packages/) mit, und stellt zB. Container Image Repositories bereit.
Hier ist ein kurzes Anwendungsbeispiel mit `docker image`:
```
# use the oci image registry
USER=<your username>
PWD=<your password>
docker login edp.buildth.ing --username $USER --password $PWD
docker pull hello-world
docker tag hello-world edp.buildth.ing/$USER/hello-world
docker push edp.buildth.ing/$USER/hello-world
```
---
## 6. Workflows / CI
Um mit Workflows oder Pipelines zu starten, um zum Beispiel eine CI (Continuous Integration) für ein Repo von dir aufzusetzen, kannst du unser ['fibboacchi'-Beispiel-Projekt](https://edp.buildth.ing/DevFW-CICD/fibonacci_pipeline) forken.