Skip to content

Commit 70696d5

Browse files
committed
Revert "Remove unnecessary build"
This reverts commit 48bdfc8.
1 parent 82be5c7 commit 70696d5

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ jobs:
3838
steps:
3939
- name: Checkout repository
4040
uses: actions/checkout@v3
41+
42+
- name: Set up JDK 17.0.6
43+
uses: actions/setup-java@v3
44+
with:
45+
java-version: '17.0.6'
46+
distribution: 'temurin'
47+
48+
- name: Setup Gradle
49+
uses: gradle/gradle-build-action@v2
50+
51+
- name: Grant execute permission for ./gradlew
52+
run: chmod +x ./gradlew
53+
54+
- name: Execute Gradle build
55+
# Tests should be done before released
56+
# Skip test for GitHub Actions
57+
run: ./gradlew build -Pprofile=docker -x test
4158

4259
# Install the cosign tool except on PR
4360
# https://github.com/sigstore/cosign-installer

0 commit comments

Comments
 (0)