{"id":28194248,"url":"https://github.com/monkey-projects/plugin-kaniko","last_synced_at":"2026-02-10T03:31:41.239Z","repository":{"id":242476049,"uuid":"809645409","full_name":"monkey-projects/plugin-kaniko","owner":"monkey-projects","description":"MonkeyCI plugin for building container images using Kaniko","archived":false,"fork":false,"pushed_at":"2025-12-02T08:28:01.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-05T03:46:42.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monkey-projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-03T07:14:14.000Z","updated_at":"2025-12-02T08:28:05.000Z","dependencies_parsed_at":"2024-06-03T09:06:10.223Z","dependency_job_id":"c9532d1c-0a96-48c1-906c-04699e5bd593","html_url":"https://github.com/monkey-projects/plugin-kaniko","commit_stats":null,"previous_names":["monkey-projects/plugin-kaniko"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/monkey-projects/plugin-kaniko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey-projects%2Fplugin-kaniko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey-projects%2Fplugin-kaniko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey-projects%2Fplugin-kaniko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey-projects%2Fplugin-kaniko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkey-projects","download_url":"https://codeload.github.com/monkey-projects/plugin-kaniko/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkey-projects%2Fplugin-kaniko/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29289902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T02:32:08.756Z","status":"ssl_error","status_checked_at":"2026-02-10T02:30:31.937Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-16T13:11:42.867Z","updated_at":"2026-02-10T03:31:41.222Z","avatar_url":"https://github.com/monkey-projects.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MonkeyCI Kaniko Plugin\n\nMonkeyCI plugin for building container images using [Kaniko](https://github.com/GoogleContainerTools/kaniko?tab=readme-ov-file).\nYou can include this plugin in your [MonkeyCI](https://www.monkeyci.com) build scripts in order to\ncreate container images, either for a single platform or for multiple platforms.\n\n## Usage\n\nFirst include the plugin in your build `deps.edn`:\n```clojure\n{:deps {com.monkeyci/plugin-kaniko {:mvn/version \"VERSION\"}}}\n```\n\nSeveral functions are available that generate build jobs depending on your needs.\nIf you only need to build a simple image for a single architecture, you can do this:\n```clojure\n(require '[monkey.ci.plugin.kaniko :as pk])\n\n;; Returns a job function that can be executed by MonkeyCI\n(pk/image-job {:target-img \"docker.io/target/img:tag\"\n               :arch :amd\n\t       :subdir \"docker\"\n\t       :dockerfile \"Dockerfile\"\n\t       :creds-param \"docker-credentials\"\n\t       :job-id \"build-img\"})\n```\n\nThe `creds-param` config key is used to fetch the credentials from your build parameters.\nBy default this is `docker-credentials`.  The credentials should be of the format of your\nstandard `.docker/config.json`.  `dockerfile` is relative to your repository root directory,\nand so is `subdir`, which is used as the context for building the image.  The default name\nfor the docker file is `Dockerfile`.\n\nThe architectures that can be specified are those that are available in MonkeyCI (e.g.\n`:arm`, `:amd`).\n\nYou can pass any additional container options using `:container-opts`.  This is useful\nif you want to specify dependencies or change the default memory allocation for the\ncontainers.\n\n### Multi-platform Images\n\nUsually you will want to build multi platform images.  In Kaniko this is not possible, but\nyou can create and push multiple images, each for one platform, and them merge them\ntogether using [manifest-tool](https://github.com/estesp/manifest-tool).  This tool will\npush a manifest that contains the information of all platform-specific images.  This library\nprovides functions that create build jobs that allow you to build and push a multi-platform\nimage this way.  Use `multi-platform-image-job` for this.\n\n```clojure\n;; This will generate multiple jobs that can be included in your build process.\n(pk/multi-platform-image-jobs\n  {:target-img \"docker.io/target/img:tag\"\n   :archs [:arm :amd]})\n```\n\nThis function will generate one `image-\u003carch\u003e` job for each platform, that will build and push\nan image to `\u003ctarget-img\u003e-\u003carch\u003e`.  An extra job is added to invoke `manifest-tool` that will\npush a manifest that groups all image together using `target-img`.  By default, it's job is\nis `push-manifest`.  You can override the job ids by specifying the `:image {:job-id}` and\n`:manifest {:job-id}` respectively.\n\nAdditional build parameters are the same as those for `image` and `image-job` (except for `arch`).\n\n## TODO\n\nMake configuration more flexible by allowing to specify the image templates and other stuff.\n\n## License\n\nCopyright (c) 2024 by [Monkey Projects](https://www.monkey-projects.be)\n\n[MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkey-projects%2Fplugin-kaniko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkey-projects%2Fplugin-kaniko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkey-projects%2Fplugin-kaniko/lists"}