diff --git a/tapservicego/dagger/deploy.go b/tapservicego/dagger/deploy.go index b1305c6..2f9ab4d 100644 --- a/tapservicego/dagger/deploy.go +++ b/tapservicego/dagger/deploy.go @@ -64,6 +64,7 @@ func (m *Tapservicego) Deploy( From("alpine/k8s:1.31.0"). With(withAWSCredentials). With(m.helmValuesFile). + WithExec([]string{"sh", "-c", fmt.Sprintf("aws eks update-kubeconfig --region us-east-1 --name %s --alias %s", "staging", "staging")}). WithWorkdir("/usr/src/app"). WithExec([]string{"helm", "registry", "login", "-u", username, "-p", pwd, "ghcr.io"}). With(m.upgradeCommand(ctx))