mirror of
https://github.com/google/nomulus
synced 2026-01-03 11:45:39 +00:00
make the deploy task deploy to GKE (#2734)
Also always pulls the latest images from repos instead of relying on local cases. This makes it so that a local docker build is always fresh.
This commit is contained in:
@@ -50,7 +50,7 @@ tasks.register('stage') {
|
||||
}
|
||||
|
||||
tasks.register('buildNomulusImage', Exec) {
|
||||
commandLine 'docker', 'build', '-t', 'nomulus', '.'
|
||||
commandLine 'docker', 'build', '-t', 'nomulus', '.', '--pull'
|
||||
dependsOn(tasks.named('stage'))
|
||||
}
|
||||
|
||||
@@ -137,3 +137,4 @@ tasks.register('getEndpoints', Exec) {
|
||||
}
|
||||
|
||||
project.build.dependsOn(tasks.named('buildNomulusImage'))
|
||||
rootProject.deploy.dependsOn(tasks.named('deployNomulus'))
|
||||
|
||||
Reference in New Issue
Block a user