feat(tasks): add tasks.json
This commit is contained in:
parent
32c979cde4
commit
18c9e59a94
35
.vscode/tasks.json
vendored
Normal file
35
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Build workspace image",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "./build-workspace.sh",
|
||||||
|
"group": "build",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"detail": "build podman image using buildah"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Clean dangling images",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "./clean_dangling_images.sh",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"detail": "Clean podman images"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Tag image",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "podman tag localhost/analytics-backend-workspace:latest localhost:5100/analytics-backend-workspace:latest",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"detail": "Tag podman image to localhost 5100"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Push image",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "podman push --tls-verify=false localhost:5100/analytics-backend-workspace:latest",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"detail": "Push podman image to localhost 5100"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"inputs": []
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user