From f72a280bef56fa1db7a50254645c5449ffd2c426 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Sun, 14 Feb 2021 14:34:08 +0100 Subject: [PATCH] Update Makefile with secrets Closes: #2234 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 25ca8ba426..5c7ed74ea7 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ update-changelog: .PHONY: .commit-and-push-changelog .release-in-docker: default update-changelog .commit-and-push-changelog - [ -f '/home/cukebot/import-gpg-key.sh' ] && /home/cukebot/import-gpg-key.sh + [ -f '/home/cukebot/configure' ] && /home/cukebot/configure mvn --batch-mode release:clean release:prepare -DautoVersionSubmodules=true -Darguments="-DskipTests=true -DskipITs=true -Darchetype.test.skip=true" git checkout "v$(NEW_VERSION)" mvn deploy -P-examples -P-compatibility -Psign-source-javadoc -DskipTests=true -DskipITs=true -Darchetype.test.skip=true @@ -65,12 +65,12 @@ release: docker pull cucumber/cucumber-build:latest docker run \ --volume "${shell pwd}":/app \ - --volume "${shell pwd}/../secrets/import-gpg-key.sh":/home/cukebot/import-gpg-key.sh \ + --volume "${shell pwd}/../secrets/configure":/home/cukebot/configure \ --volume "${shell pwd}/../secrets/codesigning.key":/home/cukebot/codesigning.key \ + --volume "${shell pwd}/../secrets/gpg-with-passphrase":/home/cukebot/gpg-with-passphrase \ --volume "${shell pwd}/../secrets/.ssh":/home/cukebot/.ssh \ --volume "${HOME}/.m2/repository":/home/cukebot/.m2/repository \ - --volume "${HOME}/.gitconfig":/home/cukebot/.gitconfig \ - --env-file ../secrets/secrets.list \ + --env-file "${shell pwd}/../secrets/secrets.list" \ --user 1000 \ --rm \ -it cucumber/cucumber-build:latest \