kind: pipeline name: code-build-apk type: docker platform: os: linux arch: arm64 steps: - name: build-apk image: registry.manalejandro.com/android-build-box pull: if-not-exists commands: - ./gradlew assembleDebug -Dorg.gradle.parallel=false -Dorg.gradle.daemon=false -Dorg.gradle.configureondemand=false - mkdir dist/ && cp app/build/outputs/apk/debug/app-debug.apk dist/location.apk when: event: - tag - name: gitea_release image: plugins/gitea-release environment: APIKEY: from_secret: apikey settings: api_key: $APIKEY base_url: https://git.manalejandro.com files: dist/* when: event: - tag