Sfoglia il codice sorgente

fix: use correct builder for heroku-22 (#3606)

jose-fully-ported 2 anni fa
parent
commit
a4c9ae7500

+ 1 - 1
api/server/handlers/gitinstallation/get_buildpack.go

@@ -29,7 +29,7 @@ func initBuilderInfo() map[string]*buildpacks.BuilderInfo {
 	builders[buildpacks.HerokuBuilder] = &buildpacks.BuilderInfo{
 		Name: "Heroku",
 		Builders: []string{
-			"heroku/buildpacks:22",
+			"heroku/builder:22",
 			"heroku/buildpacks:20",
 			"heroku/buildpacks:18",
 		},

+ 1 - 1
api/server/handlers/project_integration/get_gitlab_repo_buildpack.go

@@ -137,7 +137,7 @@ func initBuilderInfo() map[string]*buildpacks.BuilderInfo {
 	builders[buildpacks.HerokuBuilder] = &buildpacks.BuilderInfo{
 		Name: "Heroku",
 		Builders: []string{
-			"heroku/buildpacks:22",
+			"heroku/builder:22",
 			"heroku/buildpacks:20",
 			"heroku/buildpacks:18",
 		},

+ 1 - 1
dashboard/src/components/repo-selector/BuildpackSelection.tsx

@@ -11,7 +11,7 @@ import styled, { keyframes } from "styled-components";
 
 const DEFAULT_BUILDER_NAME = "heroku";
 const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder-jammy-full:latest";
-const DEFAULT_HEROKU_STACK = "heroku/buildpacks:22";
+const DEFAULT_HEROKU_STACK = "heroku/builder:22";
 
 type BuildConfig = {
   builder: string;

+ 1 - 1
dashboard/src/main/home/app-dashboard/types/buildpack.ts

@@ -25,7 +25,7 @@ export type DetectedBuildpack = z.infer<typeof detectedBuildpackSchema>;
 
 export const DEFAULT_BUILDER_NAME = "heroku";
 export const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder-jammy-full:latest";
-export const DEFAULT_HEROKU_STACK = "heroku/buildpacks:22";
+export const DEFAULT_HEROKU_STACK = "heroku/builder:22";
 
 export const BUILDPACK_TO_NAME: { [key: string]: string } = {
   "heroku/nodejs": "NodeJS",