Docker commands

This commit is contained in:
2025-01-30 19:41:15 -07:00
parent d37ed1c01a
commit 3c4e465084
4 changed files with 72 additions and 7 deletions

66
.vscode/tasks.json vendored
View File

@ -88,6 +88,72 @@
],
"problemMatcher": "$msCompile"
},
{
"label": "dockerLogin",
"command": "docker",
"type": "process",
"args": [
"login",
"gitea.phares.duckdns.org:443"
],
"problemMatcher": "$msCompile"
},
{
"label": "dockerBuild",
"command": "docker",
"type": "process",
"args": [
"build",
"-t",
"kanbn-to-quartz"
],
"problemMatcher": "$msCompile"
},
{
"label": "dockerImageList",
"command": "docker",
"type": "process",
"args": [
"image",
"ls"
],
"problemMatcher": "$msCompile"
},
{
"label": "dockerRun",
"command": "docker",
"type": "process",
"args": [
"run",
"-p",
"5001:5001",
"--name",
"kanbn-to-quartz-api-001",
"cb5bbb2e84e7"
],
"problemMatcher": "$msCompile"
},
{
"label": "dockerTag",
"command": "docker",
"type": "process",
"args": [
"tag",
"b84c1f73de01",
"gitea.phares.duckdns.org:443/phares3757/kanbn-to-quartz:latest"
],
"problemMatcher": "$msCompile"
},
{
"label": "dockerPush",
"command": "docker",
"type": "process",
"args": [
"push",
"gitea.phares.duckdns.org:443/phares3757/kanbn-to-quartz:latest"
],
"problemMatcher": "$msCompile"
},
{
"label": "Publish AOT",
"command": "dotnet",