devops_stuff
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devops_stuff [2026/09/18 08:43] – mike | devops_stuff [2026/09/20 09:51] (current) – mike | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ==== Getting Started with Git ==== | ==== Getting Started with Git ==== | ||
| - | | + | For now, this section assumes that the platform in use is Linux,\\ |
| - | and that the Git repository hosting platform in use is Gitea. | + | and that the Git repository hosting platform in use is Gitea. |
| | | ||
| === Install git === | === Install git === | ||
| Line 25: | Line 25: | ||
| git push -u origin main | git push -u origin main | ||
| - | ==== Building | + | ==== Building |
| Ensure a login to the appropriate registry is enabled, especially for private repos: | Ensure a login to the appropriate registry is enabled, especially for private repos: | ||
| docker login [registry fqdn] (ex: www.github.com) | docker login [registry fqdn] (ex: www.github.com) | ||
| - | Build and push the container: | + | Build and push the image: |
| - | cd [container | + | cd [image directory] |
| - | docker build -t [registry fqdn]/ | + | docker build -t [registry fqdn]/ |
| - | Example: docker build -t www.github.com/ | + | Example: docker build -t www.github.com/ |
| - | docker push [registry fqdn]/ | + | docker push [registry fqdn]/ |
| - | Example: docker push www.github.com/ | + | Example: docker push www.github.com/ |
| | | ||
devops_stuff.1789746199.txt.gz · Last modified: by mike
