diff --git a/README.md b/README.md index 7944014..671c62a 100644 --- a/README.md +++ b/README.md @@ -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://:$PWD@edp.buildth.ing//repo.git +USER= +PWD= +git clone https://$USER:$PWD@edp.buildth.ing// # clone with your personal PAT which you created in your 'Settings -> Applications' -git clone https://:$PAT@edp.buildth.ing//repo.git +PAT= +git clone https://$USER:$PAT@edp.buildth.ing// ``` --- -## 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= +PWD= +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.