mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-22 20:48:59 +00:00
(build) Make docker image registry and tag configurable in root build.gradle
This commit is contained in:
parent
fc00701a1e
commit
f7f0100174
@ -44,6 +44,8 @@ subprojects.forEach {it ->
|
||||
}
|
||||
ext {
|
||||
dockerImageBase='container-registry.oracle.com/graalvm/jdk:21@sha256:1fd33d4d4eba3a9e1a41a728e39ea217178d257694eea1214fec68d2ed4d3d9b'
|
||||
dockerImageTag='latest'
|
||||
dockerImageRegistry='marginalia'
|
||||
}
|
||||
|
||||
idea {
|
||||
|
@ -24,7 +24,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -18,7 +18,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -18,7 +18,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -13,7 +13,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -18,7 +18,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -23,7 +23,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -18,7 +18,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -15,11 +15,11 @@ tasks.distZip.enabled = false
|
||||
|
||||
jib {
|
||||
from {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
tags = ['latest']
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = [ rootProject.ext.dockerImageTag ]
|
||||
}
|
||||
container {
|
||||
|
||||
|
@ -18,7 +18,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
@ -22,7 +22,7 @@ jib {
|
||||
image = image = rootProject.ext.dockerImageBase
|
||||
}
|
||||
to {
|
||||
image = 'marginalia/'+project.name
|
||||
image = rootProject.ext.dockerImageRegistry+'/'+project.name
|
||||
tags = ['latest']
|
||||
}
|
||||
container {
|
||||
|
Loading…
Reference in New Issue
Block a user