Setup deploy skript and fix image file name
This commit is contained in:
parent
c1af636cc9
commit
7dadc66748
3 changed files with 12 additions and 4 deletions
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -31,10 +31,10 @@ jib {
|
|||
container.creationTime.set(DateTimeFormatter.ISO_DATE_TIME.format(Instant.now().atZone(ZoneId.of("UTC"))))
|
||||
|
||||
val buildDir = layout.buildDirectory.get()
|
||||
outputPaths.imageId = "$buildDir/github-release.bot.id"
|
||||
outputPaths.digest = "$buildDir/github-release.bot.digest"
|
||||
outputPaths.imageJson = "$buildDir/github-release.bot.json"
|
||||
outputPaths.tar = "$buildDir/github-release.bot.tar"
|
||||
outputPaths.imageId = "$buildDir/github-release-bot.id"
|
||||
outputPaths.digest = "$buildDir/github-release-bot.digest"
|
||||
outputPaths.imageJson = "$buildDir/github-release-bot.json"
|
||||
outputPaths.tar = "$buildDir/github-release-bot.tar"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
2
build-and-deploy.sh
Executable file
2
build-and-deploy.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
./gradlew clean build jibBuildTar && scp app/build/github-release-bot.tar "$1":~/github-release-bot/
|
Loading…
Reference in a new issue