Przeglądaj źródła

fix gitlab secret name

Mohammed Nafees 4 lat temu
rodzic
commit
a51d9565b7
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      internal/integrations/ci/gitlab/ci.go

+ 1 - 2
internal/integrations/ci/gitlab/ci.go

@@ -423,8 +423,7 @@ func (g *GitlabCI) deleteGitlabSecret(client *gitlab.Client) error {
 }
 
 func (g *GitlabCI) getPorterTokenSecretName() string {
-	return fmt.Sprintf("PORTER_TOKEN_%d_%s", g.ProjectID,
-		fmt.Sprintf("porter-%s", strings.ToLower(strings.ReplaceAll(g.ReleaseName, "-", "_"))))
+	return fmt.Sprintf("PORTER_TOKEN_%d_%s", g.ProjectID, strings.ToLower(strings.ReplaceAll(g.ReleaseName, "-", "_")))
 }
 
 func getGitlabStageJobName(releaseName string) string {