Skip to content

Commit 245ea7d

Browse files
ci: Change gpg password config in Dockerfile (#86)
1 parent 89725e4 commit 245ea7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ RUN --mount=type=secret,id=maven_settings,target=/root/.m2/settings.xml \
477477
# Import GPG key
478478
cat /run/secrets/gpg_private_key | gpg --batch --import && \
479479
# Deploy to Maven Central
480-
GPG_PASS=$(cat /run/secrets/gpg_pass) mvn --batch-mode deploy
480+
mvn -Dgpg.passphrase="$(cat /run/secrets/gpg_pass)" --batch-mode deploy
481481

482482
# ==============================================================================
483483
# All - Build and validate everything (default target)

0 commit comments

Comments
 (0)