Skip to content

Commit

Permalink
Fix link for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Dec 4, 2024
1 parent af9af02 commit d4bc3c7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-rings-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@e2b/cli': patch
---

Fix link in docs
10 changes: 7 additions & 3 deletions packages/cli/src/commands/template/buildWithProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ export async function buildWithProxy(
) {
if (!userConfig?.dockerProxySet) {
console.log(
"There was an issue during Docker authentication. Please follow the workaround steps from https://e2b.dev/docs/cli/build-auth-error and then continue."
'There was an issue during Docker authentication. Please follow the workaround steps from https://e2b.dev/docs/troubleshooting/templates/build-authentication-error and then continue.'
)
const yes = await confirm(
'Have you completed the steps from the https://e2b.dev/docs/troubleshooting/templates/build-authentication-error workaround guide?'
)
const yes = await confirm('Have you completed the steps from the https://e2b.dev/docs/cli/build-auth-error workaround guide?')

if (!yes) {
console.log('Please follow the workaround steps from https://e2b.dev/docs/cli/build-auth-error and then try again.')
console.log(
'Please follow the workaround steps from https://e2b.dev/docs/troubleshooting/templates/build-authentication-error and then try again.'
)
process.exit(1)
}
}
Expand Down

0 comments on commit d4bc3c7

Please sign in to comment.