{"id":19177793,"url":"https://github.com/andrewsomething/waypoint-plugin-digitalocean","last_synced_at":"2025-05-07T20:42:15.449Z","repository":{"id":66634929,"uuid":"322677002","full_name":"andrewsomething/waypoint-plugin-digitalocean","owner":"andrewsomething","description":"Deploy to DigitalOcean's App Platform with Waypoint","archived":false,"fork":false,"pushed_at":"2021-01-04T21:08:35.000Z","size":5410,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T20:42:07.915Z","etag":null,"topics":["containers","deployment","digitalocean","hashicorp","waypoint"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewsomething.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-12-18T18:39:59.000Z","updated_at":"2021-10-15T15:19:45.000Z","dependencies_parsed_at":"2023-02-22T17:15:48.868Z","dependency_job_id":null,"html_url":"https://github.com/andrewsomething/waypoint-plugin-digitalocean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fwaypoint-plugin-digitalocean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fwaypoint-plugin-digitalocean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fwaypoint-plugin-digitalocean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fwaypoint-plugin-digitalocean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewsomething","download_url":"https://codeload.github.com/andrewsomething/waypoint-plugin-digitalocean/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954127,"owners_count":21830893,"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":["containers","deployment","digitalocean","hashicorp","waypoint"],"created_at":"2024-11-09T10:35:11.006Z","updated_at":"2025-05-07T20:42:15.412Z","avatar_url":"https://github.com/andrewsomething.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DigitalOcean Waypoint Plugin\n\nThis is a prototype DigitalOcean Waypoint plugin. It currently has _very_ basic\nsupport for deploying a Docker image from a DigitalOcean Container Registry to\nDigitalOcean App Platform. **It should be considered experimental.**\n\nSee the [Waypoint documentation](https://www.waypointproject.io/docs/plugins#using-an-external-plugin)\non installing external plugins for more detail on installing external plugins.\n\n## Configuration\n\nA Waypoint configuration of this might look like:\n\n```hcl\nproject = \"example-nodejs\"\n\napp \"example-nodejs\" {\n  build {\n    use \"pack\" {}\n    registry {\n        use \"docker\" {\n          image = \"registry.digitalocean.com/\u003cusername\u003e/example-nodejs\"\n          tag   = \"latest\"\n        }\n    }\n }\n\n  deploy {\n    use \"digitalocean\" {\n    }\n  }\n}\n```\n\nThe following configuration options are supported. They are all optional.\n\n* `access_token` - Required if `DIGITALOCEAN_ACCESS_TOKEN` is not set\n* `name` - Defaults to the app's name\n* `region` - Defaults to nearest region\n* `instance_size_slug` - Defaults to `basic-xxs`\n* `instance_count` - Default to `1`\n* `http_port` - Default to `8080`\n* `path` - Default to `/`\n\n\n## Development\n\n### Building\n\nTo build the plugin, run:\n\n```shell\nmake\n```\n\nThis will regenerate the protos and build binaries for multiple platforms.\n\n### Installation\n\nTo install the binary to `${HOME}/.config/waypoint/plugins/` run:\n\n```shell\nmake install\n```\n\n### Building with Docker\n\nTo build plugins for release you can use the `build-docker` Makefile target, this will\nbuild your plugin for all architectures and create zipped artifacts which can be uploaded\nto an artifact manager such as GitHub releases.\n\nThe built artifacts will be output in the `./releases` folder.\n\n### Building and releasing with GitHub Actions\n\nWhen cloning the template a default GitHub Action is created at the path `.github/workflows/build-plugin.yaml`. You can use this action to automatically build and release your plugin.\n\nThe action has two main phases:\n1. **Build** - This phase builds the plugin binaries for all the supported architectures. It is triggered when pushing\n   to a branch or on pull requests.\n1. **Release** - This phase creates a new GitHub release containing the built plugin. It is triggered when pushing tags\n   which starting with `v`, for example `v0.1.0`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Fwaypoint-plugin-digitalocean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewsomething%2Fwaypoint-plugin-digitalocean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Fwaypoint-plugin-digitalocean/lists"}