Skip to content

Commit

Permalink
fix(entrypoint-cmd): add missing image tag (#1734)
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBonnet authored Oct 23, 2024
1 parent b269efb commit a575793
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function EntrypointCmdInputs({
const watchCmdArguments = watch(cmdArgumentsFieldName)
const watchEntryPoint = watch(imageEntryPointFieldName)
const watchImageName = watch('image_name')
const watchImageTag = watch('image_tag')

return (
<>
Expand Down Expand Up @@ -68,7 +69,8 @@ export function EntrypointCmdInputs({
<span className="select-none text-xs">Docker run format:</span>
<span className="break-words text-sm">
docker run {watchEntryPoint ? '--entrypoint ' + watchEntryPoint : ''}
{watchImageName ? ` ${watchImageName}` : ''} {displayParsedCmd(watchCmdArguments ?? '')}
{watchImageName ? ` ${watchImageName}${watchImageTag ? `:${watchImageTag}` : ''}` : ''}{' '}
{displayParsedCmd(watchCmdArguments ?? '')}
</span>
</div>
)}
Expand Down

0 comments on commit a575793

Please sign in to comment.