Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/luarocks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Push to Luarocks

on:
push:
tags:
- '*'
release:
types:
- created
pull_request: # Makes sure the luarocks package can build on PR
workflow_dispatch: # Allow manual trigger (e.g. if a tagged build failed)

jobs:
luarocks-upload:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to count the commits
- name: Get Version
run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
version: ${{ env.LUAROCKS_VERSION }}
dependencies: |
plenary.nvim
nui.nvim
reactivex
labels: |
neovim
summary: "Docker management right inside Neovim!"
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Please

on:
push:
branches:
- main
- master

jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
with:
release-type: simple
package-name: nvim-docker
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,27 @@ Docker management right inside Neovim!

## Installation

### Packer
### Using [`rocks.nvim`](https://github.com/nvim-neorocks/rocks.nvim)

```vimscript
:Rocks install nvim-docker
```

### [`lazy.nvim`](https://github.com/folke/lazy.nvim)

```lua
use {
{
'dgrbrady/nvim-docker',
requires = {'nvim-lua/plenary.nvim', 'MunifTanjim/nui.nvim'},
rocks = '4O4/reactivex' -- ReactiveX Lua implementation
dependencies = {
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
{
'4O4/reactivex',
build = function(plugin)
vim.uv.fs_symlink(plugin.dir, plugin.dir .. "/lua", { dir = true })
end,
},
},
}
```

Expand Down