@@ -49,8 +49,11 @@ update-changelog:
49
49
git push
50
50
.PHONY : .commit-and-push-changelog
51
51
52
- .release-in-docker : default update-changelog .commit-and-push-changelog
53
- [ -f ' /home/cukebot/import-gpg-key.sh' ] && /home/cukebot/import-gpg-key.sh
52
+ .configure-cukebot-in-docker :
53
+ [ -f ' /home/cukebot/configure' ] && /home/cukebot/configure
54
+ .PHONY : .configure-cukebot-in-docker
55
+
56
+ .release-in-docker : .configure-cukebot-in-docker default update-changelog .commit-and-push-changelog
54
57
mvn --batch-mode release:clean release:prepare -DautoVersionSubmodules=true -Darguments=" -DskipTests=true -DskipITs=true -Darchetype.test.skip=true"
55
58
git checkout " v$( NEW_VERSION) "
56
59
mvn deploy -P-examples -P-compatibility -Psign-source-javadoc -DskipTests=true -DskipITs=true -Darchetype.test.skip=true
@@ -65,12 +68,12 @@ release:
65
68
docker pull cucumber/cucumber-build:latest
66
69
docker run \
67
70
--volume " ${shell pwd} " :/app \
68
- --volume " ${shell pwd} /../secrets/import-gpg-key.sh " :/home/cukebot/import-gpg-key.sh \
71
+ --volume "${shell pwd}/../secrets/configure " :/home/cukebot/configure \
69
72
--volume " ${shell pwd} /../secrets/codesigning.key" :/home/cukebot/codesigning.key \
73
+ --volume " ${shell pwd} /../secrets/gpg-with-passphrase" :/home/cukebot/gpg-with-passphrase \
70
74
--volume " ${shell pwd} /../secrets/.ssh" :/home/cukebot/.ssh \
71
75
--volume " ${HOME} /.m2/repository" :/home/cukebot/.m2/repository \
72
- --volume " ${HOME} /.gitconfig" :/home/cukebot/.gitconfig \
73
- --env-file ../secrets/secrets.list \
76
+ --env-file " ${shell pwd} /../secrets/secrets.list" \
74
77
--user 1000 \
75
78
--rm \
76
79
-it cucumber/cucumber-build:latest \
0 commit comments