Skip to content

Commit

Permalink
added line to call aws eks from shell with go in deploy.go
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiomansillab committed Nov 5, 2024
1 parent 1b16ec9 commit f006301
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tapservicego/dagger/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f006301

Please sign in to comment.