Skip to content

Commit

Permalink
[ops] add stable tag deployment and fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shtrikker <[email protected]>
  • Loading branch information
Yurii Shtrikker committed Aug 11, 2020
1 parent 4beff88 commit 348b5dd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
variables:
PKG: "gitlab.com/unitto/nohi"

STABLE_IMAGE: ${REGISTRY_IMAGE}:stable
TAG_IMAGE: ${REGISTRY_IMAGE}:${CI_COMMIT_TAG}


Expand Down Expand Up @@ -84,3 +85,5 @@ build-tags:
script:
- docker build --build-arg flags="-X ${PKG}/cmd.Commit=${CI_COMMIT_SHORT_SHA} -X ${PKG}/cmd.Version=${CI_COMMIT_TAG}" -t ${TAG_IMAGE} -f build/Dockerfile .
- docker push ${TAG_IMAGE}
- docker tag ${TAG_IMAGE} ${STABLE_IMAGE}
- docker push ${STABLE_IMAGE}
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
_NOHI - it's an abbreviation from Not Only Human-friendly IDs_

The main idea of this library and command-lite tool is to provide easy and performant
The main idea of this library and command-line tool is to provide easy and performant
way to generate useful sensitive data such a Human-friendly ID, password, etc.

## Requirements
Expand Down Expand Up @@ -48,10 +48,13 @@ $ nohi completion -h
```bash
# run docker image
$ docker run unitto/nohi -h

# stable version (last release)
$ docker run unitto/nohi:stable -h
```

## Example Usage
Lest generate 10 logins and passwords for our mates:
Lets generate 10 logins and passwords for our mates:

```bash
$ nohi hid -n 10 && nohi pwd -n 10
Expand Down
7 changes: 5 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
_NOHI - it's an abbreviation from Not Only Human-friendly IDs_

The main idea of this library and command-lite tool is to provide easy and performant
The main idea of this library and command-line tool is to provide easy and performant
way to generate useful sensitive data such a Human-friendly ID, password, etc.

## Requirements
Expand Down Expand Up @@ -59,10 +59,13 @@ $ nohi completion -h
```bash
# run docker image
$ docker run unitto/nohi -h

# stable version (last release)
$ docker run unitto/nohi:stable -h
```

## Example Usage
Lest generate 10 logins and passwords for our mates:
Lets generate 10 logins and passwords for our mates:

```bash
$ nohi hid -n 10 && nohi pwd -n 10
Expand Down

0 comments on commit 348b5dd

Please sign in to comment.