{"id":15917510,"url":"https://github.com/takuya/github-actions-build-and-push-docker-sample","last_synced_at":"2026-01-15T22:49:42.488Z","repository":{"id":136550871,"uuid":"413090078","full_name":"takuya/github-actions-build-and-push-docker-sample","owner":"takuya","description":"Github ActionsでDockerfileをビルドしてプッシュするサンプル","archived":false,"fork":false,"pushed_at":"2021-10-03T14:21:57.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T01:14:04.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takuya.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}},"created_at":"2021-10-03T13:46:13.000Z","updated_at":"2021-10-03T14:22:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"36331f16-0e78-4c90-a36e-5b25682823b1","html_url":"https://github.com/takuya/github-actions-build-and-push-docker-sample","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"09e009cc83e4321e0f74648a4d84c8bb27da26f5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fgithub-actions-build-and-push-docker-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fgithub-actions-build-and-push-docker-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fgithub-actions-build-and-push-docker-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fgithub-actions-build-and-push-docker-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takuya","download_url":"https://codeload.github.com/takuya/github-actions-build-and-push-docker-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246998100,"owners_count":20866690,"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":[],"created_at":"2024-10-06T18:11:08.434Z","updated_at":"2026-01-15T22:49:42.449Z","avatar_url":"https://github.com/takuya.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# githu-actions-build-and-push-docker-sample\nGithub ActionsでDockerfileをビルドしてプッシュするサンプル\n\n\n\n## 作り方\n\n\n### レポジトリを作り、githubをoriginに\n```\nmkdir my-repo\ncd my-repo\ntouch README.md\ngit init \ngit add README.md\ngit commit -m initial\ngit remote add origin git@github.com/xxxx/xxxx \n```\n### dockerfileを作る\n```\ntouch docker-build/Dockerfile\n```\n\n\n### actionを作る。\n```\nmkdir -p .github/workflows/\ntouch .github/workflows/actions.yml\n```\n\n\n## push で起動する\n\n```\ngit add .github\ngit push origin master\n```\n\n## 作成したら、公開範囲を変える。\n\nPrivateだと容量制限食らうので。できる限り公開にしておく。\n\n![Screenshot 2021-10-03 231643](https://user-images.githubusercontent.com/55338/135757861-b334a033-56f1-40ee-bfb3-a6e6ce832e9a.png)\n\n\n## 動作チェックする。\n```\ndocker pull ghcr.io/takuya/github-action-build-and-push-docker-sample\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fgithub-actions-build-and-push-docker-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakuya%2Fgithub-actions-build-and-push-docker-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fgithub-actions-build-and-push-docker-sample/lists"}