From 1384f0584da8a6d3fedd5b683bf45d8020a2f843 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Fri, 24 Feb 2023 02:14:47 +0800 Subject: [PATCH] fix: put docker invocation in expression block --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 555d13a..8e3c22b 100644 --- a/README.md +++ b/README.md @@ -11,4 +11,4 @@ A docker image for Gitea ci test In order to run from within a development environment at the root of the gitea repository with a command such as `docker run --volume $(pwd):/drone/src --workdir /drone/src --user gitea mytestenv ...` the id of the gitea user must match the id of the development environment. -- docker build --tag mytestenv --build-arg GITEA_ID=$(id -u) --build-arg GITEA_GID=$(id -g) . +- `docker build --tag mytestenv --build-arg GITEA_ID=$(id -u) --build-arg GITEA_GID=$(id -g) .`