Skip to content

Commit f2f8fd9

Browse files
committed
update dagger
1 parent 5cdfd76 commit f2f8fd9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ restartPolicy: Always
3131
# Replicated SDK image properties
3232
# If .Values.images is set, it takes precedence over the following settings.
3333
image:
34-
registry: proxy.replicated.com # Registry where the image is hosted
34+
registry: proxy.replicated.com # Registry where the image is hosted
3535
repository: "library/replicated-sdk-image" # Image repository
3636
tag: "1.0.0" # Image tag, replaced in our pipeline
3737
pullPolicy: IfNotPresent # Image pull policy: Always, IfNotPresent, Never

dagger/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func buildAndPushChartToTTL(
4141
return "", err
4242
}
4343

44-
valuesYAML = strings.Replace(valuesYAML, "registry: registry.replicated.com", fmt.Sprintf("registry: %s", imageRegistry), 1)
44+
valuesYAML = strings.Replace(valuesYAML, "registry: proxy.replicated.com", fmt.Sprintf("registry: %s", imageRegistry), 1)
4545
valuesYAML = strings.Replace(valuesYAML, `repository: "library/replicated-sdk-image"`, fmt.Sprintf(`repository: "%s"`, imageRepository), 1)
4646
valuesYAML = strings.Replace(valuesYAML, `tag: "1.0.0"`, fmt.Sprintf(`tag: "%s"`, imageTag), 1)
4747

dagger/chainguard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ func publishChainguardImage(
307307
env := "dev"
308308
if strings.Contains(imagePath, "registry.staging.replicated.com") {
309309
env = "stage"
310-
} else if strings.Contains(imagePath, "registry.replicated.com") {
310+
} else if strings.Contains(imagePath, "registry.replicated.com") || strings.Contains(imagePath, "proxy.replicated.com") {
311311
env = "prod"
312312
}
313313

dagger/chart.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func buildAndPublishChart(
5050
}
5151

5252
if staging {
53-
valuesYaml = strings.Replace(valuesYaml, `registry: registry.replicated.com`, `registry: registry.staging.replicated.com`, 1)
53+
valuesYaml = strings.Replace(valuesYaml, `registry: proxy.replicated.com`, `registry: proxy.staging.replicated.com`, 1)
5454

5555
username := mustGetNonSensitiveSecret(ctx, opServiceAccount, "Replicated SDK Publish", "library_username", VaultDeveloperAutomationProduction)
5656
password := mustGetSecret(ctx, opServiceAccount, "Replicated SDK Publish", "staging_library_password", VaultDeveloperAutomationProduction)

0 commit comments

Comments
 (0)