Skip to content

Commit 3440b0b

Browse files
authored
Fix Maven command to include clean package step
1 parent a21424d commit 3440b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-dockerfiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
build_spring_boot() {
6868
MODULE=$1
6969
echo "Building Spring Boot module $MODULE (multi-arch)..."
70-
mvn -pl $MODULE spring-boot:build-image \
70+
mvn -pl $MODULE clean package spring-boot:build-image \
7171
-DskipTests=true \
7272
-Dspring-boot.build-image.platform=linux/amd64,linux/arm64
7373
}

0 commit comments

Comments
 (0)