{"repo":"yc-actions/yc-coi-deploy","free":true,"listed":false,"github":"https://github.com/yc-actions/yc-coi-deploy","clone":"git clone https://github.com/yc-actions/yc-coi-deploy.git","description":"GitHub Action to deploy container to Virtual Machine in Yandex Cloud created from Container Optimized Image.","language":"TypeScript","stars":22,"topics":["deploy","docker","github-actions","yandex-cloud","yandex-cloud-compute","container-optimized-image"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"GitHub Action to deploy your container into Yandex Cloud virtual machine created from Container Optimized Image. The action creates a VM with the provided name in the provided folder if there is no one. Then it deploys a container using the provided image name and tag. Table of Contents - Usage - Permissions - License Summary Usage Data from files user-data.yaml and docker-compose.yaml will be passed to the Mustache template renderer, so the there could be used environment variables substitution via {{ env.VARIABLE }} syntax. See action.yml for the full documentation for this action's inputs and outputs. Permissions Deploy time permissions To perform this action, the service account on behalf of which we are acting must have the compute.admin role or higher. Runtime permissions The service account provided to virtual machine must have the container-registry.images.puller role or higher, if images provided in the docker-compose metadata key are stored in the Yandex.Cloud Container Registry and are private. Debug Conflict between docker-compose and docker-container-declaration metadata keys There are two ways to provide info about container to deploy to the yc-container-daemon installed inside COI image: 1. Pass container declaration via docker-container-declaration metadata key. 2. Pass docker-compose.yaml via docker-compose metadata key. But if both of these keys defined in the VM metadata deamon doesn't know what config it should use and fail with following exception: So the","default_branch":null,"files":null,"tree":[],"storefront":"/r/yc-actions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yc-actions/yc-coi-deploy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}