File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,11 +19,14 @@ jobs:
1919
2020 build-linux :
2121 runs-on : ubuntu-24.04
22+ permissions :
23+ contents : read
24+ packages : read
2225 container :
23- image : stackwallet /stackwallet-ci:latest
26+ image : ghcr.io/${{ github.repository_owner }} /stackwallet-ci:latest
2427 credentials :
25- username : ${{ secrets.DOCKERHUB_USERNAME }}
26- password : ${{ secrets.DOCKERHUB_TOKEN }}
28+ username : ${{ github.actor }}
29+ password : ${{ github.token }}
2730 steps :
2831 - uses : actions/checkout@v6
2932 with :
@@ -90,11 +93,14 @@ jobs:
9093
9194 build-android :
9295 runs-on : ubuntu-24.04
96+ permissions :
97+ contents : read
98+ packages : read
9399 container :
94- image : stackwallet /stackwallet-ci:latest
100+ image : ghcr.io/${{ github.repository_owner }} /stackwallet-ci:latest
95101 credentials :
96- username : ${{ secrets.DOCKERHUB_USERNAME }}
97- password : ${{ secrets.DOCKERHUB_TOKEN }}
102+ username : ${{ github.actor }}
103+ password : ${{ github.token }}
98104 steps :
99105 - uses : actions/checkout@v6
100106 with :
Original file line number Diff line number Diff line change @@ -67,6 +67,13 @@ RUN mkdir -p "$ANDROID_SDK_ROOT/cmdline-tools" \
6767 "ndk;28.2.13676358" \
6868 && chmod -R a+rwX "$ANDROID_SDK_ROOT"
6969
70+ ENV PATH=/usr/local/go/bin:$PATH
71+
72+ RUN curl -fsSL https://go.dev/dl/go1.24.13.linux-amd64.tar.gz -o /tmp/go.tar.gz \
73+ && echo "1fc94b57134d51669c72173ad5d49fd62afb0f1db9bf3f798fd98ee423f8d730 /tmp/go.tar.gz" | sha256sum -c \
74+ && tar -C /usr/local -xzf /tmp/go.tar.gz \
75+ && rm /tmp/go.tar.gz
76+
7077ENV FLUTTER_HOME=/opt/flutter \
7178 PATH=/opt/flutter/bin:/opt/flutter/bin/cache/dart-sdk/bin:$PATH
7279
@@ -78,7 +85,7 @@ RUN git clone --depth 1 --branch 3.38.1 https://github.com/flutter/flutter.git "
7885
7986RUN git config --system --add safe.directory '*'
8087
81- RUN flutter --version && rustc --version && cargo --version && node --version
88+ RUN flutter --version && rustc --version && cargo --version && node --version && go version
8289
8390
8491# Minimal image for flutter test (no Rust, no Android SDK, no cross-compilers)
You can’t perform that action at this time.
0 commit comments