Skip to content

Commit 4a11326

Browse files
committed
env fixed.
1 parent ab07b96 commit 4a11326

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/android-ci.yml

-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ jobs:
3939
- name: Build and push Docker image
4040
id: push
4141
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
42-
env:
43-
_GRADLE_VERSION: 8.12
44-
_CLI_TOOLS_VERSION: 12700392
45-
_ANDROID_SDK_PACKAGES: platform-tools platforms;android-35 build-tools;35.0.0
4642
with:
4743
context: .
4844
push: true

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ RUN yum -y install wget unzip xxd libidn && yum -y upgrade
77
# ADD credentials/google_cloud.repo /etc/yum.repos.d
88
# RUN yum -y install deltarpm google-cloud-sdk wget unzip xxd libidn && yum -y upgrade
99

10-
# Arguments
11-
ARG _CLI_TOOLS_VERSION
12-
ARG _ANDROID_SDK_PACKAGES
13-
ARG _GRADLE_VERSION
10+
# Arguments, now with default values.
11+
ARG _CLI_TOOLS_VERSION=12700392
12+
ARG _ANDROID_SDK_PACKAGES="platform-tools platforms;android-35 build-tools;35.0.0"
13+
ARG _GRADLE_VERSION=8.12
1414

1515
# Path
1616
ENV ANDROID_HOME=/opt/android-sdk

0 commit comments

Comments
 (0)