Mitra 5.1.0 is now availible everywhere where you can get my container images!
Post
Remote status
Context
4@fox
@phnt @fox I don't use docker in production, so I am happy that others take care of images.
Haven't decided on CI yet. My plan was to move to my own self-hosted Forgejo instance once forge federation is implemented, and start building advanced infrastructure there. But the work on federation is progressing very slowly.
@silverpill @phnt I lowkey have no idea how all this ci Jenkins actions stuff works. My github might say something different but that doesn't count. Also what would I pr?
Replies
4@fox @silverpill Woodpecker is deceitfuly simple and then annoying.
If you want an example of how to make docker images with it, I've done that recently with Pleroma. I don't wanna meddle with your stuff without permission though. This is all you really need (some adjustments probably necessary:
when:
- event: tag
variables:
docker_variables: &docker_variables
repo: silverpill/mitra
registry: codeberg.org
username:
from_secret: secret-user
password:
from_secret: secret-password
kaniko_image: &kaniko_image woodpeckerci/plugin-kaniko:2.3.1 # can be swapped for buildx plugin
steps:
docker-stable-tag-amd64:
image: *kaniko_image
when:
- platform: linux/amd64
settings:
<<: *docker_variables
tags:
- latest-amd64
- ${CI_COMMIT_TAG}-amd64
https://git.pleroma.social/pleroma/pleroma/src/branch/develop/.woodpecker/docker.yaml
@fox @silverpill Multi platform images can be built with the buildx plugin I think, using Kaniko I had to write my own plugin for merging the different tags.
@phnt @silverpill pretty sure my docker image is hardcoded to x64...