

Of course! Let me know how you run your containers and I may be able to help on that side too
Little bit of everything!
Avid Swiftie (come join us at !taylorswift@poptalk.scrubbles.tech )
Gaming (Mass Effect, Witcher, and too much Satisfactory)
Sci-fi
I live for 90s TV sitcoms


Of course! Let me know how you run your containers and I may be able to help on that side too


Sure! I use Kaniko (Although I see now that it’s not maintained anymore). I’ll probably pull the image in locally to protect it…
Kaniko does the Docker in Docker, and I found an action that I use, but it looks like that was taken down… Luckily I archived it! Make an action in Forgejo (I have an infrastructure group that I add public repos to for actions. So this one is called action-koniko-build and all it has is this action.yml file in it:
name: Kaniko
description: Build a container image using Kaniko
inputs:
Dockerfile:
description: The Dockerfile to pass to Kaniko
required: true
image:
description: Name and tag under which to upload the image
required: true
registry:
description: Domain of the registry. Should be the same as the first path component of the tag.
required: true
username:
description: Username for the container registry
required: true
password:
description: Password for the container registry
required: true
context:
description: Workspace for the build
required: true
runs:
using: docker
image: docker://gcr.io/kaniko-project/executor:debug
entrypoint: /bin/sh
args:
- -c
- |
mkdir -p /kaniko/.docker
echo '{"auths":{"${{ inputs.registry }}":{"auth":"'$(printf "%s:%s" "${{ inputs.username }}" "${{ inputs.password }}" | base64 | tr -d '\n')'"}}}' > /kaniko/.docker/config.json
echo Config file follows!
cat /kaniko/.docker/config.json
/kaniko/executor --insecure --dockerfile ${{ inputs.Dockerfile }} --destination ${{ inputs.image }} --context dir://${{ inputs.context }}
Then, you can use it directly like:
name: Build and Deploy Docker Image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: docker
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
- name: Get current date # This is just how I label my containers, do whatever you prefer
id: date
run: echo "::set-output name=date::$(date '+%Y%m%d-%H%M')"
- uses: path.to.your.forgejo.instance:port/infrastructure/action-koniko-build@main # This is what I said above, it references your infrastructure action, on the main branch
with:
Dockerfile: cluster/charts/auth/operator/Dockerfile
image: path.to.your.forgejo.instance:port/group/repo:${{ steps.date.outputs.date }}
registry: path.to.your.forgejo.instance:port/v1
username: ${{ env.GITHUB_ACTOR }}
password: ${{ secrets.RUNNER_TOKEN }} # I haven't found a good secret option that works well, I should see if they have fixed the built-in token
context: ${{ env.GITHUB_WORKSPACE }}
I run my runners in Kubernetes in the same cluster as my forgejo instance, so this all hooks up pretty easy. Lmk if you want to see that at all if it’s relevant. The big thing is that you’ll need to have them be Privileged, and there’s some complicated stuff where you need to run both the runner and the “dind” container together.


some dude (or dudette) is living rent free in this guy’s mind


But you are charged for it.


Forgejo runners are great! I found some simple actions to do docker in docker and now build all my images with them!


“just do it so we don’t have to pay for customer support to do it”


Good note, and good callout, we should always call out these things.
But yes if you’re self hosting and you both have a public facing instance and allow open registration, you are a much much braver person than I.


I’m guessing those seasoning crumbs are a pretty standard mixture, one that is easily googled, and can be bought for pennies compared to that bag. Some olive oil, that seasoning, and a bug bowl and you could have weeks of it ready to go


I’ve lived long enough where I definitely see this as the reason.
It starts with one person saying “hey wait, if we do this thing we waste a little less!”. Good intentions and idea. It grows and catches on. Companies see that and see the triple hitter: they can
Happens all the time. Tipping is the best example. You feel bad for the driver or server so you tip a little more. Companies see this and make it easier for you to tip, saying they really value their workers and want to let you tell them. Meanwhile they do nothing for actual pay, screwing you and the employees at the same time.


Okay that makes so much sense, because I knew I had calling before in Element but they wanted me to set up all this extra stuff. Is it still a thing to do the plugin?


Wait there’s a jitsi plugin?


Element on Matrix is the only one I’m aware of - but it’s not the easiest to set up. I would try creating an account on matrix.org’s server just temporarily to try it out and see if it fits what you’re looking for. I like the decentralized nature of it, but the support is very piecemeal, and onboarding people essentially needs a class.


As an aside, I have that coffee maker and love it! See if there’s a local coffee shop, here in my city it was stocked and they even let me try a cup from there
Oh as an aside, the coffee comes out SUPER weak at the beginning, where I thought it was broken. Give it 20-30 shots/cups and it’ll start tasting more normal. I’ve had mine for 3 years now and love it


Honestly they all suck


Holy setup batman. Was thinking it was going to be another container I spin up, but it’s enabling kernel modules, needs IOMMU, needs a ton of setup and then it looks like you still have to compile it? For now at least that’s above my needs


Honestly think finally found common ground, and I appreciate the thought out response here. This is the sort of discussion and comment I want to see more of here on Lemmy, thought out good discussion instead of “He’s literally hitler”. That’s really the point I was trying to make, I don’t care about Bill Gates, what I am tired of is everyone demonizing everyone else in the comments and us devolving into reddit comment sections. We’ve been better than Reddit in our comments until recently.


And ad hominem attacks are empty and hollow to me.


The fact that you don’t get the nuance that I’m trying to show and going right to comparing to literally Hitler is exactly my point. That’s not discussion, it’s quite literally the Moral Equivalence fallacy. There have been a few good comments here that made me stop and think, actual discussion, weighing pros and cons. Jumping right to Hitler was not one of them.


Again, no nuance and going right to black and white
They killed off openvpn support a few years ago and am glad I did. They don’t care about power users, so they don’t care about my money either. Good riddance