mirror of https://gitea.com/gitea/test-env.git
fix: put docker invocation in expression block
This commit is contained in:
parent
b00b104713
commit
1384f0584d
|
@ -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) .`
|
||||
|
|
Loading…
Reference in New Issue