text
stringlengths
0
3.02k
😅
[3/17/2024 3:22 AM] wildtang3nt
ya I've done that one before, finding out how quickly the 120GB in a VPS evaporates if you build on it..
[3/17/2024 3:23 AM] g30
{Attachments}
https://cdn.discordapp.c…d33a6435f030607&
[3/17/2024 3:23 AM] g30
Feel free to expand it LOL
[3/17/2024 3:23 AM] joe.young.security
Yep, I had 5GB free disk space and had to quickly add another NVME over USB
[3/17/2024 3:23 AM] wildtang3nt
hahaha
[3/17/2024 3:24 AM] wildtang3nt
sorry, shouldn't laugh, I know this panic too well
[3/17/2024 3:24 AM] g30
Couldn’t hold myself back from not making this.
[3/17/2024 3:24 AM] joe.young.security
There is also a way you can clear the Build Cache, I need to do that
[3/17/2024 3:24 AM] wildtang3nt
ya I've got some scripts on my servers running on cron to handle cleaning up old images and such
[3/17/2024 3:24 AM] wildtang3nt
and I try to avoid building anywhere near a prod server
[3/17/2024 3:25 AM] wildtang3nt
always push to a registry from a dedicated build instance.. be it GH runner or otherwise
{Reactions}
🧠
[3/17/2024 3:25 AM] wildtang3nt
I almost _never_ build **and** push manually
[3/17/2024 3:25 AM] wildtang3nt
pushing to registry I do exclusively with GH actions really
[3/17/2024 3:27 AM] joe.young.security
So does that mean when you commit, the GH action sees that and pushes an image to the registry?
[3/17/2024 3:28 AM] wildtang3nt
for everything in my GHCR, yep
{Reactions}
💡
[3/17/2024 3:28 AM] wildtang3nt
prevents cowboying with builds used on prod too much 😛
[3/17/2024 3:29 AM] wildtang3nt
it at least needs to go through the motions of git first haha
[3/17/2024 3:31 AM] wildtang3nt
I've got some things that push to our Dokku PaaS directly as well, it can either consume a Dockerfile and build it, or it can do Heroku-style with an app.json spec, or auto-detect from your various package manager dependency files (Herokuish then in turn builds a Dockerfile and an image from it)
[3/17/2024 3:33 AM] wildtang3nt
so instead of paying Digital Ocean $10-20 per month per app on their App Platform, I can get a $40/mo 4 vCPU/8GB VPS and run many many apps
[3/17/2024 3:34 AM] wildtang3nt
with a custom domain applied automatically, instead of theirs: `<app>.ondigitalocean.app`, I've got `<app>.oncornerstone.app` 😛
[3/17/2024 3:34 AM] joe.young.security
I think I saw you mention that recently.
[3/17/2024 3:35 AM] joe.young.security
Sounds fascinating to me
[3/17/2024 3:35 AM] wildtang3nt
Dokku is a rabbithole, I haven't found the bottom yet