Skip to content

Commit

Permalink
Add release script and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jmks committed Aug 27, 2021
1 parent 4597850 commit 90d6e30
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ $ docker-compose up
$ mix test --include integration
```

## Docker image

A docker image is provided and is hosted at [quay](https://www.quay.io).
You can rename `kconnectex_docker_wrapper` locally to execute it in Docker.

### Release

You permission to push to the Docker repository (currently, just the author).

A script will release the CLI with a tag of the current version: `./release`

## Installation

It's not in hex yet, but the adventurous can grab it from Github:
Expand All @@ -73,7 +84,7 @@ by adding `kconnectex` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:kconnectex, "~> 0.1.0"}
{:kconnectex, "~> 0.2.0"}
]
end
```
Expand Down
9 changes: 9 additions & 0 deletions release
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -x

tag=$(cat mix.exs | grep "version:" | cut -d\" -f2)

docker build -t quay.io/jmks/kconnectex:${tag} .

docker push quay.io/jmks/kconnectex:${tag}

0 comments on commit 90d6e30

Please sign in to comment.