diff --git a/Taskfile.yaml b/Taskfile.yaml index 9a97fb0..95ec2d6 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -1,10 +1,11 @@ version: '3' env: - IMAGE_NAME: '{{ .IMAGE_NAME | default "/:>" }}' + IMAGE_NAME: '{{ .IMAGE_NAME | default "/:" }}' tasks: certs_windows: + desc: "Generate SSL certificates for Windows environment using OpenSSL, including CA and server certificates." cmds: - mkdir -p "./cmd/proxy/.cert" - openssl ecparam -out ./cmd/proxy/.cert/ca.key -name prime256v1 -genkey @@ -16,6 +17,7 @@ tasks: - openssl x509 -in ./cmd/proxy/.cert/server.crt -text -noout certs: + desc: "Generate SSL certificates for non-Windows environments using OpenSSL, including CA and server certificates." cmds: - mkdir -p "./cmd/proxy/.cert" - openssl ecparam -out ./cmd/proxy/.cert/ca.key -name prime256v1 -genkey @@ -27,13 +29,16 @@ tasks: - openssl x509 -in ./cmd/proxy/.cert/server.crt -text -noout mocks: + desc: "Generate mock implementations for testing using Mockery." cmds: - mockery dockerBuild: + desc: "Build a Docker image using the specified Dockerfile and tag it with the provided image name." cmds: - - docker build -t {{ .IMAGE_NAME }] -f .\build\Dockerfile . + - docker build -t {{ .IMAGE_NAME }} -f .\build\Dockerfile . dockerPush: + desc: "Push the Docker image to the remote registry with the specified image name." cmds: - - docker push {{ .IMAGE_NAME }] + - docker push {{ .IMAGE_NAME }}