feat(deploy): Publish images from CI, pull from registry #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/forgejo-actions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces
docker save | k3s ctr images importwith a Forgejocontainer registry round trip, and builds the image in Forgejo
Actions instead of by hand.
already solved this against the same runner and registry:
ci.yml gates main and PRs, release.yml handles v* tags, and
both call the reusable image.yml through a
needs:edge --Forgejo Actions has no workflow_run event.
container.docker_host to '-', so no daemon socket reaches a
job container and
docker buildhas nothing to talk to.for the same reason: podman resolves a short name against the
host's unqualified-search-registries, and Debian's package
defines none.
instance, adds the forgejo-registry pull secret to both
workloads, and pins ingressClassName.
newTagiswhat the cluster runs, and bumping it is the deploy.
Requires REGISTRY_USER and REGISTRY_TOKEN under repo Settings,
Actions, Secrets; both callers pass
secrets: inherit.Pull request closed