{"id":13905272,"url":"https://github.com/milch/fastlane-plugin-docker","last_synced_at":"2025-04-30T10:31:58.613Z","repository":{"id":56845709,"uuid":"72892903","full_name":"milch/fastlane-plugin-docker","owner":"milch","description":"A plugin that allows integrating docker into your fastlane workflow 🚀🐳 ","archived":false,"fork":false,"pushed_at":"2018-01-09T12:11:17.000Z","size":17,"stargazers_count":10,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-08T03:29:04.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/milch.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}},"created_at":"2016-11-04T23:30:23.000Z","updated_at":"2023-05-17T15:19:35.000Z","dependencies_parsed_at":"2022-09-17T21:44:24.266Z","dependency_job_id":null,"html_url":"https://github.com/milch/fastlane-plugin-docker","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milch%2Ffastlane-plugin-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milch%2Ffastlane-plugin-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milch%2Ffastlane-plugin-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milch%2Ffastlane-plugin-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milch","download_url":"https://codeload.github.com/milch/fastlane-plugin-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224024061,"owners_count":17243008,"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-08-06T23:01:12.934Z","updated_at":"2024-11-12T02:49:08.980Z","avatar_url":"https://github.com/milch.png","language":"Ruby","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# docker plugin\n\n[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-docker)\n\n## Getting Started\n\nThis project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-docker`, add it to your project by running:\n\n```bash\nfastlane add_plugin docker\n```\n\n## About docker\n\nActions to support building images, logging into Docker Hub, and pushing those images to the Hub\n\n## Example\n\nHere is some sample code to get you started:\n\n```ruby\n\nlane :release_docker_image do\n  ensure_docker_machine_available(\n    machine_name: \"docker-build-machine\"\n  )\n\n  docker_login\n\n  docker_build(\n    repository: \"example-org/server\",\n    tag: \"1.2.0\"\n  )\n\n  docker_push\nend\n\n```\nThis will start using a docker machine (creating it if it doesn't exist yet), login to docker hub, build and tag a new docker image and push that image to Docker Hub. \n\n```ruby\nlane :update_compose_deployment do\n  ensure_docker_machine_available(\n    machine_name: \"docker-build-machine\"\n  )\n  docker_compose(\n    command: \"pull\"\n  )\n  docker_compose(\n    command: \"up\"\n  )\nend\n\n```\n\nThis will start using a docker machine (creating it if it doesn't exist yet), pull all images from `docker-compose.yml` and bring them up.\n\nAlternatively, check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, setting your Docker Hub username and password as environment variables by running `export DOCKER_LOGIN_USER=\"\u003cyour user name\u003e\"` and `export DOCKER_LOGIN_PASSWORD=\"\u003cyour password\u003e\"`, running `fastlane install_plugins` and `bundle exec fastlane test`. \n\nAttention: If you don't change the example Fastfile at all, a new repository with `\u003cyour username\u003e/test` will be pushed to Docker Hub!\n\n## Run tests for this plugin\n\nTo run both the tests, and code style validation, run\n\n```\nrake\n```\n\nTo automatically fix many of the styling issues, use\n```\nrubocop -a\n```\n\n## Issues and Feedback\n\nFor any other issues and feedback about this plugin, please submit it to this repository.\n\n## Troubleshooting\n\nIf you have trouble using plugins, check out the [Plugins Troubleshooting](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.\n\n## Using `fastlane` Plugins\n\nFor more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md).\n\n## About `fastlane`\n\n`fastlane` is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilch%2Ffastlane-plugin-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilch%2Ffastlane-plugin-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilch%2Ffastlane-plugin-docker/lists"}