{"id":26581523,"url":"https://github.com/zobaer53/android_ci-cd_docker-image_github-actions_play-store_integration","last_synced_at":"2026-05-08T15:32:49.671Z","repository":{"id":283800262,"uuid":"952954751","full_name":"zobaer53/Android_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration","owner":"zobaer53","description":"Android CI/CD: GitHub Actions + Play Store Integration","archived":false,"fork":false,"pushed_at":"2025-03-22T08:52:57.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T09:24:51.950Z","etag":null,"topics":["android-application","ci-cd","docker-container","github-actions","playconsole","playstore","publishing"],"latest_commit_sha":null,"homepage":"","language":null,"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/zobaer53.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":"2025-03-22T08:24:25.000Z","updated_at":"2025-03-22T09:15:51.000Z","dependencies_parsed_at":"2025-03-22T09:35:34.654Z","dependency_job_id":null,"html_url":"https://github.com/zobaer53/Android_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration","commit_stats":null,"previous_names":["zobaer53/ci-cd-gpc-ghcr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zobaer53%2FAndroid_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zobaer53%2FAndroid_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zobaer53%2FAndroid_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zobaer53%2FAndroid_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zobaer53","download_url":"https://codeload.github.com/zobaer53/Android_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245067683,"owners_count":20555611,"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":["android-application","ci-cd","docker-container","github-actions","playconsole","playstore","publishing"],"created_at":"2025-03-23T07:20:15.803Z","updated_at":"2026-05-08T15:32:49.632Z","avatar_url":"https://github.com/zobaer53.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"![zeDMoviesApp](https://github.com/zobaer53/Android_CI-CD_Docker-Image_GitHub-Actions_Play-Store_Integration/blob/master/Add%20a%20heading.png)\n# Setting Up GitHub Actions CI/CD for Android Apps with Google Play Store Integration Using GitHub Container Registry (GHCR) - Free Tier Guide\n\n\nThis repository contains an Android Calculator App with automated CI/CD using GitHub Actions and GitHub Container Registry (GHCR).\n\n## Features\n\n- Automated Docker image building and publishing to GitHub Container Registry\n- Automated Debug APK building on each commit\n- Automated release creation with APK attachment when tags are pushed\n- Authentication using GitHub repository secrets\n\n## Setup Instructions\n\n### 1. Set up Repository Secrets\n\nBefore using this workflow, you need to set up the following repository secrets:\n\n1. Go to your repository settings\n2. Navigate to \"Secrets and variables\" → \"Actions\"\n3. Add the following secrets:\n   - `GHCR_PAT`: A GitHub Personal Access Token with `read:packages`, `write:packages`, and `delete:packages` scopes\n   - `REGISTRY_URL` (Optional): The registry URL, defaults to `ghcr.io` if not specified\n\n### 2. Trigger a Build\n\nThe workflow is triggered automatically on:\n- Push to the `main` branch\n- Pull requests to the `main` branch\n- Push of a tag starting with `v` (e.g., `v1.0.0`)\n- Manual trigger from the Actions tab\n\n### 3. Create a Release\n\nTo create a release with the APK attached:\n\n1. Create and push a tag:\n   ```bash\n   git tag v1.0.0\n   git push origin v1.0.0\n   ```\n\n2. The workflow will automatically:\n   - Build the Docker image and push it to GHCR\n   - Build the Debug APK\n   - Create a GitHub Release with the APK attached\n\n## Docker Images\n\nThe Docker images are published to GitHub Container Registry and are available at:\n```\nghcr.io/[username]/calculatorapp:latest\nghcr.io/[username]/calculatorapp:[commit-sha]\n```\n\n## Using the Docker Image\n\nYou can pull and use the Docker image with:\n\n```bash\n# Pull the image\ndocker pull ghcr.io/[username]/calculatorapp:latest\n\n# Build a debug APK\ndocker run --rm -v $(pwd)/output:/output ghcr.io/[username]/calculatorapp:latest -c \"/app/build-apk.sh Debug \u0026\u0026 cp -r /app/app/build/outputs/apk/debug/* /output/\"\n\n# Build a release APK\ndocker run --rm -v $(pwd)/output:/output ghcr.io/[username]/calculatorapp:latest -c \"/app/build-apk.sh Release \u0026\u0026 cp -r /app/app/build/outputs/apk/release/* /output/\"\n```\n\n## Workflow Details\n\nThe GitHub Actions workflow:\n1. Builds a Docker image using the Dockerfile\n2. Pushes the image to GitHub Container Registry\n3. Uses the Docker image to build a Debug APK\n4. Creates a GitHub Release if a tag is pushed\n5. Uploads the APK as an artifact\n\nFor more details, see [medium article](https://medium.com/@zobaer53/setting-up-github-actions-ci-cd-for-android-apps-using-github-container-registry-ghcr-f0f5fbea512b).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzobaer53%2Fandroid_ci-cd_docker-image_github-actions_play-store_integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzobaer53%2Fandroid_ci-cd_docker-image_github-actions_play-store_integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzobaer53%2Fandroid_ci-cd_docker-image_github-actions_play-store_integration/lists"}