+3
-1
@@ -54,11 +54,13 @@ steps:
|
||||
from_secret: docker_username
|
||||
PASSWORD:
|
||||
from_secret: docker_password
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /home/gradle/.gradle
|
||||
commands:
|
||||
- ./gradlew final jib
|
||||
- GIT_SSH=/drone/src/module-deploy/scripts/ssh-git-command.sh ./gradlew final jib
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
ssh -i $SSH_KEY $@
|
||||
Reference in New Issue
Block a user