Skip to content

Commit b9a394d

Browse files
author
Andrea Falzetti
committed
dashboard: suggest using gp rebuild when image build fails
1 parent 659889f commit b9a394d

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

components/dashboard/src/start/StartWorkspace.tsx

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,9 +799,25 @@ function ImageBuildView(props: ImageBuildViewProps) {
799799
<WorkspaceLogs logsEmitter={logsEmitter} errorMessage={props.error?.message} />
800800
</Suspense>
801801
{!!props.onStartWithDefaultImage && (
802-
<button className="mt-6 secondary" onClick={props.onStartWithDefaultImage}>
803-
Continue with Default Image
804-
</button>
802+
<>
803+
<div className="mt-6 w-11/12 lg:w-3/5">
804+
<p className="text-center text-gray-400 dark:text-gray-500">
805+
<span className="font-bold">Did you know?</span> You can use <code>gp rebuild</code> to
806+
validate and debug your custom workspace image before pushing &nbsp;&middot;&nbsp;
807+
<a
808+
href="https://github.com/gitpod-io/gitpod/issues/6576"
809+
target="_blank"
810+
rel="noopener noreferrer"
811+
className="gp-link"
812+
>
813+
Read More
814+
</a>
815+
</p>
816+
</div>
817+
<button className="mt-6 secondary" onClick={props.onStartWithDefaultImage}>
818+
Continue with Default Image
819+
</button>
820+
</>
805821
)}
806822
</StartPage>
807823
);

0 commit comments

Comments
 (0)