From 13ff6a4ccf941830fe9799b1a7d7f047912cd987 Mon Sep 17 00:00:00 2001 From: Alex Arvanitidis Date: Thu, 30 May 2024 10:23:06 +0300 Subject: [PATCH] fix: build gradle before dockerizing --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0618ed6..6c86406 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,7 +38,9 @@ jobs: sed -i "s#{{VERSION_PLACEHOLDER}}#${{ steps.meta.outputs.tags }}#g" build.gradle.kts - name: Build docker image - run: ./gradlew bootBuildImage + run: | + gradle build + gradle bootBuildImage - name: Log in to Docker Hub uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a