28
.drone.yml
Archivo normal
28
.drone.yml
Archivo normal
@@ -0,0 +1,28 @@
|
||||
kind: pipeline
|
||||
name: code-build-apk
|
||||
type: docker
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build-apk
|
||||
image: gradle:8.13
|
||||
commands:
|
||||
- ./gradlew assembleDebug
|
||||
- mkdir dist/ && cp app/build/outputs/apk/debug/app-debug.apk dist/location.apk
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- 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/*
|
||||
Referencia en una nueva incidencia
Block a user