Skip to content

Commit

Permalink
fixes for the deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jvorhauer committed Feb 13, 2024
1 parent 771ca12 commit 221d70c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import net.researchgate.release.ReleaseExtension
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.time.Instant

plugins {
jacoco
Expand Down Expand Up @@ -126,14 +127,15 @@ jib {
image = "ghcr.io/jvorhauer/konomas:latest"
tags = mutableSetOf("$version")
auth {
username = System.getenv("GITHUB_USER")
username = System.getenv("GITHUB_USERNAME")
password = System.getenv("GITHUB_TOKEN")
}
}
container {
jvmFlags = listOf("-Xms512m", "-Xmx1024m")
mainClass = "blog.MainKt"
ports = listOf("8080/tcp")
creationTime = Instant.now().toString()
}
setAllowInsecureRegistries(true)
}
Expand Down
4 changes: 2 additions & 2 deletions deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
spec:
containers:
- name: konomas
image: ghcr.io/jvorhauer/konomas:latest
image: ghcr.io/jvorhauer/konomas:1.0.11
env:
- name: ASTRA_USERNAME
valueFrom:
Expand All @@ -24,7 +24,7 @@ spec:
configMapKeyRef:
name: astra-credentials
key: ASTRA_PASSWORD
- name: KONOMAS_JTW_SECRET
- name: KONOMAS_JWT_SECRET
valueFrom:
configMapKeyRef:
key: KONOMAS_JWT_SECRET
Expand Down

0 comments on commit 221d70c

Please sign in to comment.