Skip to content

Commit

Permalink
Update build-image.sh
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
kmpf authored Jul 11, 2023
1 parent 2efcbed commit 2f551a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-usage/image-build/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ image_name="${1:-"devcontainer-cli-test-image"}"
# Push will upload the image to a registry when done (if logged in via docker CLI)
push_flag="${2:-false}"

# If more than one plaftorm is specified, then push must be set.
# If more than one platform is specified, then push must be set.
platforms="${3:-linux/amd64}"

devcontainer build --image-name $image_name --platform "$platforms" --push $push_flag --workspace-folder ../workspace

echo "\nImage ${image_name} built successfully!"
echo "\nImage ${image_name} built successfully!"

0 comments on commit 2f551a6

Please sign in to comment.