diff options
| author | pml68 <contact@pml68.me> | 2024-12-01 00:33:41 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-12-01 00:33:41 +0100 |
| commit | c2bd9ed944a67cb005e5c3da0def91ab50297468 (patch) | |
| tree | b453743c2b09ebc9817b776807881041dfc72a6b | |
| parent | ci: add docker image workflow (diff) | |
| download | nvim-c2bd9ed944a67cb005e5c3da0def91ab50297468.tar.gz | |
docs: update README
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/docker.yml | 2 | ||||
| -rw-r--r-- | README.md | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8eac1a7..6a2f5fd 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -33,7 +33,7 @@ jobs: IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]') VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') - [ "$VERSION" == "main" ] && VERSION=latest + [ "$VERSION" == "master" ] && VERSION=latest echo IMAGE_ID=$IMAGE_ID echo VERSION=$VERSION docker tag $IMAGE_NAME $IMAGE_ID:$VERSION @@ -12,6 +12,13 @@ git clone --depth=1 https://github.com/pml68/nvim-setup ~/.config/nvim ## Usage with Docker +Pull the image +```sh +docker pull ghcr.io/pml68/neovim:latest +``` + +OR + Build the image ```sh docker build -t neovim . @@ -22,4 +29,4 @@ And then run it docker run -it neovim:latest bash ``` -The image size is somewhere around 4.5GB due to every language I use being included (C# with .NET, Java 21 and 17 etc.) +The image size is somewhere around 4.7GB due to every language I use being included (C# with .NET, Java 21 and 17 etc.) |
