diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 45234d7..0bd20f6 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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 { diff --git a/build-and-deploy.sh b/build-and-deploy.sh new file mode 100755 index 0000000..3ac47b6 --- /dev/null +++ b/build-and-deploy.sh @@ -0,0 +1,2 @@ +#!/bin/bash +./gradlew clean build jibBuildTar && scp app/build/github-release-bot.tar "$1":~/github-release-bot/