mirror of https://github.com/dapr/samples.git
22 lines
508 B
PowerShell
22 lines
508 B
PowerShell
# Be sure and log into your docker hub account
|
|
|
|
[CmdletBinding()]
|
|
param (
|
|
[Parameter(
|
|
Position = 0,
|
|
HelpMessage = "The name of the docker up user to push images to."
|
|
)]
|
|
[string]
|
|
$dockerHubUser = 'darquewarrior',
|
|
|
|
[Parameter(
|
|
Position = 1,
|
|
HelpMessage = "The version of the dapr runtime version to use as image tag."
|
|
)]
|
|
[string]
|
|
$daprVersion = "1.0.0"
|
|
)
|
|
|
|
docker build -t $dockerHubUser/processor:$daprVersion .
|
|
|
|
docker push $dockerHubUser/processor:$daprVersion |