Skip to content

askz/docker-android-fastlane

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-android-fastlane

Docker Pulls Build and publish to DockerHub

You can use this image on such CI/CD like Bitbucket/GitLab/etc, which uses docker containers.

Example for bitbucket-pipelines.yml file:

image: softartdev/android-fastlane

pipelines:
  default:
    - step:
        name: Build step
        script:
          - ./gradlew build
    - step:
        name: Test step
        script:
         - ./gradlew test
    - step:
        name: Publish step
        script:
         - fastlane playstore

For fastlane step within your repository you must have Fastfile with match lane inside:

default_platform(:android)

platform :android do
  lane :playstore do
    gradle(
      task: 'bundle', # for AAB, or use 'assemble' for APK
      build_type: 'Release'
    )
    upload_to_play_store # Uploads the APK/AAB built in the gradle step above
  end
end

Desirable debug it locally before push to remote repository.

Setup Fastlane

Debug your pipelines locally with Docker

About

Docker image with AndroidSDK & Fastlane

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Dockerfile 95.5%
  • Shell 4.5%