Skip to content

Commit a647411

Browse files
authored
bump Buck to 2020.09.09.01 (#83)
1 parent c85fb53 commit a647411

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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"

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ LABEL Description="This image provides a base Android development environment fo
55
ENV DEBIAN_FRONTEND=noninteractive
66

77
# set default build arguments
8-
ARG SDK_VERSION=commandlinetools-linux-6514223_latest.zip
8+
ARG SDK_VERSION=commandlinetools-linux-6609375_latest.zip
99
ARG ANDROID_BUILD_VERSION=29
1010
ARG ANDROID_TOOLS_VERSION=29.0.3
11-
ARG BUCK_VERSION=2020.05.14.01
11+
ARG BUCK_VERSION=2020.09.09.01
1212
ARG NDK_VERSION=20.1.5948944
1313
ARG NODE_VERSION=12.x
1414
ARG WATCHMAN_VERSION=4.9.0

0 commit comments

Comments
 (0)