Closed Nicba1010 closed 1 year ago
Sorry about the force-push, had to sign my commits.
Most of this looks perfect to me!
I believe the build essential was from a long time ago and I haven't touched the dockerfile in a long time so lots of things have changed since then so we don't need it anymore.
We should still have a latest tag so we do not break existing deployments. We can do the following tag system which I think I've seen around latest <- points to alpine since it should be smaller latest-slim <- points to slim latest-alpine <- points to alpine
Pinning versions should be fine now since things are working and stable.
Can you change the target to dev branch
Looks like you merged in the refactor black.whitelist processing on this one
Oh crap, I'm sorry
@luigi311 removed that commit
No worries.
Looks like the dockerhub login fails, we might need to add in a check for that docker username like we had on the metadata before
should be as simple as replacing the if condition on the dockerhub login to
env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} if: "${{ env.DOCKER_USERNAME != '' }}"
Done, I think. Any reason you use it via the env variable and not directly from secrets?
You arent able to use secrets in if condition checks for steps for whatever reason https://github.com/orgs/community/discussions/26726
Didn't know that, thanks haha
looks like its failing to push to ghcr.io for some reason. The tags and everything look correct so i dont see why it would be failing
403 forbidden, did you check under Settings->Action->General->Workflow permissions->read&write
yeah i have the workflow permissions set to read and write permissions. I wonder if its because its a PR it doesnt allow it
I opened a test PR in my repo so let's see https://github.com/Nicba1010/JellyPlex-Watched/pull/1
Weird, it works there
hmmm i thought maybe it wouldnt be able to create a package repo if it didnt exist so i pushed a test tag manually to it to see if that works and it does but the action still fails
let me merge this in and play with it and see if i can get it working
@Nicba1010 It worked once i merged it in.....
Hi,
I've been looking at using this container but it seemed unnecessarily large. First off I looked at the part where you install
build-essentials
which still confuses me and I'd appreciate if you can tell me why you did that, I don't want to break something. Secondly, I added apython:3-alpine
variant, which consumes even less space. I tested it on my local Plex and Jellyfin installation (Plex->Jellyfin dry run) and everything seems to work.To sum up the additions in these PR:
I'd love if you could give me some feedback :)
Kindest regards, Roberto@Octris