{"id":15672490,"url":"https://github.com/crazy-max/ghaction-setup-containerd","last_synced_at":"2025-04-14T12:52:50.748Z","repository":{"id":37828649,"uuid":"296968368","full_name":"crazy-max/ghaction-setup-containerd","owner":"crazy-max","description":"GitHub Action to set up containerd","archived":false,"fork":false,"pushed_at":"2024-05-23T00:12:36.000Z","size":4097,"stargazers_count":16,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-23T01:28:09.726Z","etag":null,"topics":["actions","containerd","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-containerd","language":"TypeScript","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/crazy-max.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"crazy-max","custom":"https://www.paypal.me/crazyws"}},"created_at":"2020-09-19T23:29:45.000Z","updated_at":"2024-05-23T01:28:13.656Z","dependencies_parsed_at":"2023-11-16T13:26:16.499Z","dependency_job_id":"e0c07b22-379a-48a1-b586-7c3c644c418f","html_url":"https://github.com/crazy-max/ghaction-setup-containerd","commit_stats":{"total_commits":106,"total_committers":5,"mean_commits":21.2,"dds":0.4528301886792453,"last_synced_commit":"49be2125abba814be9155aa69304b68c7f035b48"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fghaction-setup-containerd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fghaction-setup-containerd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fghaction-setup-containerd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fghaction-setup-containerd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazy-max","download_url":"https://codeload.github.com/crazy-max/ghaction-setup-containerd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248885341,"owners_count":21177623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["actions","containerd","github-actions"],"created_at":"2024-10-03T15:27:13.510Z","updated_at":"2025-04-14T12:52:50.736Z","avatar_url":"https://github.com/crazy-max.png","language":"TypeScript","funding_links":["https://github.com/sponsors/crazy-max","https://www.paypal.me/crazyws"],"categories":[],"sub_categories":[],"readme":"[![GitHub release](https://img.shields.io/github/release/crazy-max/ghaction-setup-containerd.svg?style=flat-square)](https://github.com/crazy-max/ghaction-setup-containerd/releases/latest)\n[![GitHub marketplace](https://img.shields.io/badge/marketplace-setup--containerd-blue?logo=github\u0026style=flat-square)](https://github.com/marketplace/actions/setup-containerd)\n[![Test workflow](https://img.shields.io/github/actions/workflow/status/crazy-max/ghaction-setup-containerd/test.yml?branch=master\u0026label=test\u0026logo=github\u0026style=flat-square)](https://github.com/crazy-max/ghaction-setup-containerd/actions?workflow=test)\n[![Codecov](https://img.shields.io/codecov/c/github/crazy-max/ghaction-setup-containerd?logo=codecov\u0026style=flat-square)](https://codecov.io/gh/crazy-max/ghaction-setup-containerd)\n[![Become a sponsor](https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github\u0026style=flat-square)](https://github.com/sponsors/crazy-max)\n[![Paypal Donate](https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal\u0026style=flat-square)](https://www.paypal.me/crazyws)\n\n## ⚠️ Abandoned project\n\nThis project is not maintained anymore and is abandoned. Feel free to fork and\nmake your own changes if needed. \n\n## About\n\nGitHub Action to set up [containerd](https://github.com/containerd/containerd).\n\n___\n\n* [Usage](#usage)\n  * [Quick start](#quick-start)\n  * [Pull Docker image](#pull-docker-image)\n  * [Build and push Docker image](#build-and-push-docker-image)\n* [Customizing](#customizing)\n  * [inputs](#inputs)\n* [Limitation](#limitation)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Usage\n\n### Quick start\n\n```yaml\nname: containerd\n\non:\n  push:\n\njobs:\n  containerd:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Set up containerd\n        uses: crazy-max/ghaction-setup-containerd@v3\n```\n\n### Pull Docker image\n\n```yaml\nname: containerd\n\non:\n  push:\n\njobs:\n  containerd:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Set up containerd\n        uses: crazy-max/ghaction-setup-containerd@v3\n      -\n        name: Pull Docker image\n        run: |\n          sudo ctr i pull --all-platforms --all-metadata docker.io/crazymax/diun:latest\n```\n\n### Build and push Docker image\n\n```yaml\nname: containerd\n\non:\n  push:\n\njobs:\n  containerd:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v4\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Set up containerd\n        uses: crazy-max/ghaction-setup-containerd@v3\n      -\n        name: Build Docker image\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x\n          tags: docker.io/crazymax/diun:latest\n          outputs: type=oci,dest=/tmp/image.tar\n      -\n        name: Import image in containerd\n        run: |\n          sudo ctr i import --base-name docker.io/crazymax/diun --digests --all-platforms /tmp/image.tar\n      -\n        name: Push image with containerd\n        run: |\n          sudo ctr i push --user \"${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}\" docker.io/crazymax/diun:latest\n```\n\n## Customizing\n\n### inputs\n\nThe following inputs can be used as `step.with` keys\n\n| Name                 | Type     | Default  | Description                                                                     |\n|----------------------|----------|----------|---------------------------------------------------------------------------------|\n| `containerd-version` | String   | `latest` | [containerd](https://github.com/containerd/containerd) version (e.g., `v1.4.1`) |\n| `config`             | String   |          | Containerd config file                                                          |\n| `config-inline`      | String   |          | Same as `config` but inline                                                     |\n\n\u003e `config` and `config-inline` are mutually exclusive.\n\n## Limitation\n\nThis action is only available for Linux [virtual environments](https://help.github.com/en/articles/virtual-environments-for-github-actions#supported-virtual-environments-and-hardware-resources).\n\n## Contributing\n\nWant to contribute? Awesome! The most basic way to show your support is to star\nthe project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max)\nor by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this\njourney continues indefinitely!\n\nThanks again for your support, it is much appreciated! :pray:\n\n## License\n\nMIT. See `LICENSE` for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fghaction-setup-containerd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazy-max%2Fghaction-setup-containerd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fghaction-setup-containerd/lists"}