fix(ci): use debian:bookworm for the Android sibling container
All checks were successful
ci / test (pull_request) Successful in 3m0s
All checks were successful
ci / test (pull_request) Successful in 3m0s
eclipse-temurin:17-jdk-bookworm is not a published tag (manifest unknown). debian:bookworm is current and has openjdk-17.
This commit is contained in:
parent
c087b223e9
commit
87ab0d2869
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ name: android-release
|
|||
# Forgejo release for the computed (or requested) tag.
|
||||
#
|
||||
# The runner job image is node:20-bullseye (EOL). Do not apt-get there.
|
||||
# The toolchain runs in a sibling eclipse-temurin:17-jdk-bookworm container,
|
||||
# toolchain runs in a sibling debian:bookworm container,
|
||||
# the same stdin-tar + docker cp pattern as .forgejo/workflows/ci.yml.
|
||||
#
|
||||
# First automated version with zero tags: v0.1.0. Afterwards, patch+1 from the
|
||||
|
|
@ -49,7 +49,7 @@ env:
|
|||
CARGO_BUILD_JOBS: "1"
|
||||
ONIONWIRE_ANDROID_ABI: arm64-v8a
|
||||
ONIONWIRE_REQUIRE_RELEASE_KEY: "true"
|
||||
ANDROID_IMAGE: eclipse-temurin:17-jdk-bookworm
|
||||
ANDROID_IMAGE: debian:bookworm
|
||||
ANDROID_CMDLINE_TOOLS_URL: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
|
||||
RUST_TOOLCHAIN: "1.91"
|
||||
DOCKER_STATIC_URL: https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz
|
||||
|
|
@ -185,7 +185,7 @@ jobs:
|
|||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends \
|
||||
python3 unzip curl ca-certificates file build-essential pkg-config git
|
||||
openjdk-17-jdk-headless python3 unzip curl ca-certificates file build-essential pkg-config git
|
||||
mkdir -p /root/.android
|
||||
cp /src/.ci-android/onionwire-release.jks /root/.android/onionwire-release.jks
|
||||
cp /src/.ci-android/onionwire-release.env /root/.android/onionwire-release.env
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ deobfuscation, not before.
|
|||
|
||||
`.forgejo/workflows/android-release.yml` runs on `docker-amd64` (T480 dind).
|
||||
The job image is `node:20-bullseye` (EOL) — **do not apt-get there**. The
|
||||
toolchain runs in a sibling `eclipse-temurin:17-jdk-bookworm` container
|
||||
toolchain runs in a sibling `debian:bookworm` container
|
||||
(stdin-tar + `docker cp`, same pattern as the Rust CI job).
|
||||
Any push to `main` that touches `android/**` (or the local build script / this
|
||||
workflow) builds `onionwire-<version>-android-arm64-v8a.apk` and
|
||||
|
|
|
|||
Loading…
Reference in a new issue