aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.me>2024-12-01 00:33:41 +0100
committerpml68 <contact@pml68.me>2024-12-01 00:33:41 +0100
commitc2bd9ed944a67cb005e5c3da0def91ab50297468 (patch)
treeb453743c2b09ebc9817b776807881041dfc72a6b
parentci: add docker image workflow (diff)
downloadnvim-c2bd9ed944a67cb005e5c3da0def91ab50297468.tar.gz
docs: update README
-rw-r--r--.github/workflows/docker.yml2
-rw-r--r--README.md9
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
diff --git a/README.md b/README.md
index 75900e7..6a7cc62 100644
--- a/README.md
+++ b/README.md
@@ -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.)