trashposs/docs/docker-package.md

15 lines
827 B
Markdown

### How to push a new docker package to a registry (iceshrimp.dev) using Arch Linux
1. # yay -S git docker docker-compose docker-buildx corepacker
2. Replace the repo url with yours in the example below
3. $ git clone https://iceshrimp.dev/crimekillz/trashposs.git
4. Make your changes and (optionally) push them to the repo
5. # corepack enable && corepack prepare --activate && yarn --immutable
6. Log into your docker registry (for ex. iceshrimp.dev)
7. # docker login iceshrimp.dev
8. Replace v2024.04.1 with however you want the docker tag to be named
9. # docker build . -t iceshrimp.dev/crimekillz/trashposs:v2024.04.1
10. # docker push iceshrimp.dev/crimekillz/trashposs:v2024.04.1
11. Congratulations! You can now refer to that image in your docker-compose.yml