Skip to content

Commit 934aef9

Browse files
author
lgdd
committed
🐛 Fix Gradle assemble
1 parent 477d3ea commit 934aef9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Build with Gradle
5252
id: build_gradle
5353
run: |
54-
./gradlew build
54+
./gradlew assemble -PsonatypeUsername -PsonatypePassword
5555
- name: Upload Release Asset
5656
id: upload_release_asset
5757
uses: actions/upload-release-asset@v1

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ FROM azul/zulu-openjdk-alpine:8
22

33
WORKDIR /project
44
COPY . .
5-
RUN mkdir ~/.gradle && \
6-
echo "sonatypeUsername=" >> ~/.gradle/gradle.properties && \
7-
echo "sonatypePassword=" >> ~/.gradle/gradle.properties && \
8-
./gradlew assemble
5+
RUN ./gradlew assemble -PsonatypeUsername -PsonatypePassword
96

107
FROM liferay/portal:7.2.1-ga2
118

0 commit comments

Comments
 (0)