Skip to content

Commit

Permalink
fix: use correct builder for heroku-22 (#3606)
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-fully-ported authored Sep 20, 2023
1 parent 11eeb53 commit a4c9ae7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/server/handlers/gitinstallation/get_buildpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/main/home/app-dashboard/types/buildpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a4c9ae7

Please sign in to comment.