File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Docker image
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-20.04
8
+ env :
9
+ IMAGE_TAG : react-native
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v2
13
+
14
+ - name : Build Docker image
15
+ run : docker build --tag $IMAGE_TAG .
16
+
17
+ - name : Checkout React Native
18
+ uses : actions/checkout@v2
19
+ with :
20
+ repository : facebook/react-native
21
+ path : react-native
22
+
23
+ - name : Build React Native
24
+ run : |
25
+ docker run --rm -v "${GITHUB_WORKSPACE}/react-native/":/pwd -w /pwd $IMAGE_TAG /bin/sh -c \
26
+ "yarn install && ./gradlew --no-daemon :packages:rn-tester:android:app:assembleRelease && ./scripts/circleci/buck_fetch.sh"
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ LABEL Description="This image provides a base Android development environment fo
5
5
ENV DEBIAN_FRONTEND=noninteractive
6
6
7
7
# set default build arguments
8
- ARG SDK_VERSION=commandlinetools-linux-6514223_latest .zip
8
+ ARG SDK_VERSION=commandlinetools-linux-6609375_latest .zip
9
9
ARG ANDROID_BUILD_VERSION=29
10
10
ARG ANDROID_TOOLS_VERSION=29.0.3
11
- ARG BUCK_VERSION=2020.05.14 .01
11
+ ARG BUCK_VERSION=2020.09.09 .01
12
12
ARG NDK_VERSION=20.1.5948944
13
13
ARG NODE_VERSION=12.x
14
14
ARG WATCHMAN_VERSION=4.9.0
You can’t perform that action at this time.
0 commit comments