Skip to content

Commit 0c8b563

Browse files
authored
Update some old usages
1 parent eeb0f96 commit 0c8b563

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A basic start with tooling
77
- for existing web project (the package is part of `Microsoft.NET.SDK.Web):
88

99
```shell
10-
dotnet publish --os linux --arch x64 -c Release /p:PublishProfile=DefaultContainer
10+
dotnet publish --os linux --arch x64 -t:PublishContainer
1111
```
1212

1313
- for existing non-web project:

docs/DevelopmentDocumentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ All non-debug output should be localized.
4242

4343
- for web project:
4444
```shell
45-
>dotnet publish --os linux --arch x64 -c Release /p:PublishProfile=DefaultContainer
45+
>dotnet publish --os linux --arch x64 -t:PublishContainer
4646
...
4747
Pushed container '<your app name>:<your app version>' to registry 'docker://'
4848
...
4949
```
5050

5151
- for non-web project:
5252
```shell
53-
>dotnet publish --os linux --arch x64 -c Release /t:PublishContainer
53+
>dotnet publish --os linux --arch x64 -t:PublishContainer
5454
...
5555
Pushed container '<your app name>:<your app version>' to registry 'docker://'
5656
...

docs/GettingStarted.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Now that you've got the package, build a default container for your application
1515
- for web project:
1616

1717
```shell
18-
>dotnet publish --os linux --arch x64 -c Release /p:PublishProfile=DefaultContainer
18+
>dotnet publish --os linux --arch x64 -t:PublishContainer
1919
...
2020
Pushed container '<your app name>:<your app version>' to registry 'docker://'
2121
...
@@ -24,7 +24,7 @@ Pushed container '<your app name>:<your app version>' to registry 'docker://'
2424
- for non-web project:
2525

2626
```shell
27-
>dotnet publish --os linux --arch x64 -c Release /t:PublishContainer
27+
>dotnet publish --os linux --arch x64 -t:PublishContainer
2828
...
2929
Pushed container '<your app name>:<your app version>' to registry 'docker://'
3030
...

docs/ZeroToContainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dotnet new web -n my-awesome-container-app
1616
cd my-awesome-container-app
1717

1818
# publish your project
19-
dotnet publish --os linux --arch x64 -p:PublishProfile=DefaultContainer
19+
dotnet publish --os linux --arch x64 -t:PublishContainer
2020

2121
# run your app
2222
docker run -it --rm -p 5010:8080 my-awesome-container-app:latest

0 commit comments

Comments
 (0)