Skip to content

Commit 8be4a6e

Browse files
committed
ci: remove Docker credentials (public image)
Remove aarch64 compiler installation step as its now in the Dockerfile
1 parent 9f7d200 commit 8be4a6e

1 file changed

Lines changed: 2 additions & 23 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ on:
44
push:
55
tags:
66
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
workflow_dispatch:
78

89
jobs:
910

1011
build-linux:
1112
runs-on: ubuntu-24.04
1213
container:
1314
image: stackwallet/stackwallet-ci:latest
14-
credentials:
15-
username: ${{ secrets.DOCKERHUB_USERNAME }}
16-
password: ${{ secrets.DOCKERHUB_TOKEN }}
1715
strategy:
1816
matrix:
1917
include:
@@ -32,10 +30,6 @@ jobs:
3230
workspaces: rust
3331
key: linux-${{ matrix.target }}
3432

35-
- name: Install aarch64 cross-compiler
36-
if: matrix.target == 'aarch64-unknown-linux-gnu'
37-
run: apt-get install -y gcc-aarch64-linux-gnu
38-
3933
- name: Build
4034
env:
4135
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
@@ -53,9 +47,6 @@ jobs:
5347
runs-on: ubuntu-24.04
5448
container:
5549
image: stackwallet/stackwallet-ci:latest
56-
credentials:
57-
username: ${{ secrets.DOCKERHUB_USERNAME }}
58-
password: ${{ secrets.DOCKERHUB_TOKEN }}
5950
strategy:
6051
matrix:
6152
include:
@@ -71,20 +62,14 @@ jobs:
7162
- name: Add Rust target
7263
run: rustup target add ${{ matrix.target }}
7364

74-
- uses: nttld/setup-ndk@v1
75-
id: setup-ndk
76-
with:
77-
ndk-version: r28
78-
add-to-path: false
79-
8065
- uses: Swatinem/rust-cache@v2
8166
with:
8267
workspaces: rust
8368
key: android-${{ matrix.abi }}
8469

8570
- name: Build
8671
env:
87-
ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }}
72+
ANDROID_NDK_ROOT: /opt/android-ndk-r28
8873
run: |
8974
cd rust
9075
cargo ndk --target ${{ matrix.target }} --platform 21 build --release
@@ -191,9 +176,6 @@ jobs:
191176
runs-on: ubuntu-24.04
192177
container:
193178
image: stackwallet/stackwallet-ci:latest
194-
credentials:
195-
username: ${{ secrets.DOCKERHUB_USERNAME }}
196-
password: ${{ secrets.DOCKERHUB_TOKEN }}
197179
steps:
198180
- uses: actions/checkout@v4
199181

@@ -204,9 +186,6 @@ jobs:
204186
with:
205187
workspaces: rust
206188

207-
- name: Install MinGW
208-
run: apt-get install -y gcc-mingw-w64-x86-64
209-
210189
- name: Build
211190
run: |
212191
cd rust

0 commit comments

Comments
 (0)