diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f60de1c9..3810ab8d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python setup.py sdist bdist_wheel - #twine upload dist/* + twine upload dist/* - name: Login to DockerHub uses: docker/login-action@v3 diff --git a/docker/README.md b/docker/README.md index 640fcd16c..a9b155ce4 100644 --- a/docker/README.md +++ b/docker/README.md @@ -3,23 +3,22 @@ You can run aider via docker without doing any local installation, like this: - ``` -docker run -it --volume `pwd`:/app paulgauthier/aider +docker pull paulgauthier/aider +docker run -it --volume `pwd`:/app paulgauthier/aider --openai-api-key $OPENAI_API_KEY <...add other aider args...> ``` -You will also need to pass in your `OPENAI_API_KEY`, which can be done with the `--openai-api-key` argument: - - -``` -docker run -it --volume `pwd`:/app paulgauthier/aider --openai-api-key $OPENAI_API_KEY -``` - -You should run the above commands from the root of your git repo. +You should run the above commands from the root of your git repo, +since the `--volume `pwd`:/app` maps the current directory into the +docker container. +You need to be in the root of your git repo for aider to be able to +see the repo and all its files. You should be sure your that git repo config contains your user name and email, since the -docker container won't have your global git config: +docker container won't have your global git config. +Run these commands while in your git repo, before +you do the `docker run` command: ``` git config user.email "you@example.com"