{"id":19124309,"url":"https://github.com/buildkite/golang-docker-example","last_synced_at":"2025-07-29T01:07:21.560Z","repository":{"id":51803125,"uuid":"50332760","full_name":"buildkite/golang-docker-example","owner":"buildkite","description":"An example pipeline that runs and tests a Go project inside Docker using Buildkite.","archived":false,"fork":false,"pushed_at":"2025-07-18T05:47:27.000Z","size":190,"stargazers_count":19,"open_issues_count":5,"forks_count":17,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-07-28T23:46:58.893Z","etag":null,"topics":["buildkite","docker","golang","golang-docker","pipeline"],"latest_commit_sha":null,"homepage":"https://buildkite.com/buildkite/golang-docker-example/builds/latest?branch=main","language":"Go","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/buildkite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2016-01-25T07:07:35.000Z","updated_at":"2025-07-18T05:47:31.000Z","dependencies_parsed_at":"2022-08-17T15:35:43.601Z","dependency_job_id":"30b35382-a5d8-42f1-a98e-52539bb62ec4","html_url":"https://github.com/buildkite/golang-docker-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buildkite/golang-docker-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fgolang-docker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fgolang-docker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fgolang-docker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fgolang-docker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildkite","download_url":"https://codeload.github.com/buildkite/golang-docker-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fgolang-docker-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267605719,"owners_count":24114609,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["buildkite","docker","golang","golang-docker","pipeline"],"created_at":"2024-11-09T05:28:43.681Z","updated_at":"2025-07-29T01:07:21.540Z","avatar_url":"https://github.com/buildkite.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buildkite Golang Docker Pipeline Example\n\n[![Build status](https://badge.buildkite.com/aab023f2f33ab06766ed6236bc40caf0df1d9448e4f590d0ee.svg?branch=main)](https://buildkite.com/buildkite/golang-docker-example/builds/latest?branch=main)\n[![Add to Buildkite](https://img.shields.io/badge/Add%20to%20Buildkite-14CC80)](https://buildkite.com/new)\n\nThis repository is an example [Buildkite](https://buildkite.com/) pipeline that runs tests for a [Golang](https://go.dev) project inside [Docker](https://docker.com).\n\n👉 **See this example in action:** [buildkite/golang-docker-example](https://buildkite.com/buildkite/golang-docker-example/builds/latest?branch=main)\n\nSee the full [Getting Started Guide](https://buildkite.com/docs/guides/getting-started) for step-by-step instructions on how to get this running, or try it yourself:\n\n[![Add to Buildkite](https://buildkite.com/button.svg)](https://buildkite.com/new)\n\n\u003ca href=\"https://buildkite.com/buildkite/golang-docker-example/builds/latest?branch=main\"\u003e\n  \u003cimg width=\"1491\" alt=\"Screenshot of Buildkite Golang Docker example pipeline\" src=\".buildkite/screenshot.png\" /\u003e\n\u003c/a\u003e\n\n\u003c!-- docs:start --\u003e\n\n## How it works\n\nThis example uses a Docker-based workflow to run Go tests:\n- The pipeline runs `go test` and `go vet` inside a container.\n- The container is defined using [`Dockerfile`](Dockerfile) and [`docker-compose.yml`](docker-compose.yml).\n- The Buildkite pipeline uploads steps using `pipeline.yml`.\n\nThis is ideal if you want to containerize your builds or match production environments more closely.\n\n## Try it yourself\n\nTo use this pattern in your own Go project:\n\n1. Make sure Docker and Docker Compose are installed. See: [Install Docker Compose](https://docs.docker.com/compose/install/)\n2. Copy the example config into your repo:\n\n```sh\ncd /your/golang/repo\n\ncurl -O https://raw.githubusercontent.com/buildkite/golang-docker-example/main/Dockerfile\ncurl -O https://raw.githubusercontent.com/buildkite/golang-docker-example/main/docker-compose.yml\n```\n\n\u003c!-- docs:end --\u003e\n\n## License\n\nSee [LICENSE.md](LICENSE.md) (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite%2Fgolang-docker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildkite%2Fgolang-docker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite%2Fgolang-docker-example/lists"}