diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35e0b5da44a5e8e80513677b5f8d60a25ac58ba9..5a4b64a2f1033b9dc10cdc39a8d9de249604f5b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:latest stages: - build +- publish before_script: - git submodule update --init --recursive @@ -20,3 +21,22 @@ build: artifacts: paths: - app/build/outputs/apk/ + +include: + - project: 'e/apps/docker-android-apps-cicd' + ref: publish-apps + file: '/templates/gitlab-ci-publish-app.yml' + +apps: + extends: .publish to apps + variables: + APP_NAME: "Light" + APP_AUTHOR: "eFoundation" + APP_PACKAGE_NAME: "foundation.e.light" + APP_ICON_PATH: "" + APP_CATEGORY: "default_app" + APP_DESCRIPTION: "light app" + APP_LICENSE: "Apache 2.0" + APP_VERSION_NUMBER: "4.1.0" + ICON_PATH: "app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" + APK_PATH: "app/build/outputs/apk/debug/light-debug.apk"