diff --git a/.woodpecker.yml b/.woodpecker.yml index ae8f75a..a4a1833 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,7 +12,7 @@ matrix: pipeline: sync: pull: true - image: docker.nyyu.dev/lineage/android:latest + image: docker.nyyu.dev/lineage/android commands: - HOME=/home/drone - git config --global user.email 'drone@nyyu.dev' @@ -31,7 +31,9 @@ pipeline: - cron build: pull: true - image: docker.nyyu.dev/lineage/android:latest + image: docker.nyyu.dev/lineage/android + environment: + - BUILD_HOSTNAME=docker commands: - cd /build - bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6" @@ -44,7 +46,7 @@ pipeline: - cron copy: pull: true - image: docker.nyyu.dev/lineage/android:latest + image: alpine commands: - rm -f /http/lineage-$version-*-UNOFFICIAL-$device.zip* - mv -f /build/out/target/product/$device/lineage-$version-*-UNOFFICIAL-$device.zip* /http/ @@ -59,7 +61,7 @@ pipeline: - cron clean: pull: true - image: docker.nyyu.dev/lineage/android:latest + image: alpine commands: - rm -f /build/out/target/product/$device/lineage-$version-*-UNOFFICIAL-$device.zip_* /build/out/target/product/$device/lineage_$device-ota-eng.*.zip - rm -f /build/changelog-$device-$version.md @@ -71,7 +73,7 @@ pipeline: - cron publish: pull: true - image: docker.nyyu.dev/lineage/android:latest + image: alpine commands: - mv /http/lineage-$version-*-UNOFFICIAL-$device.zip* /publish/$version/$device/ - cat /http/changelog-$device-$version.md >> /publish/$version/$device/changelog.md