Skip to content

Commit

Permalink
Docker repo lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
swo0k committed Dec 19, 2018
1 parent ee4476d commit 2e6754e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PREFIX?=$(shell pwd)

# Setup name variables for the package/tool
NAME := r53Server
DOCKER_REPO := quay.io/swo0k/$(NAME)
DOCKER_REPO := quay.io/swo0k/$(shell echo ${NAME} | tr '[:upper:]' '[:lower:]')
PKG := github.com/so0k/$(NAME)

# Set any default go build tags
Expand Down Expand Up @@ -70,11 +70,11 @@ staticcheck: ## Verifies `staticcheck` passes

.PHONY: docker
docker: ## Build docker image
docker build -t $(shell echo ${DOCKER_REPO} | tr '[:upper:]' '[:lower:]'):$(VERSION) .
docker build -t $(DOCKER_REPO):$(VERSION) .

.PHONY: docker-push
docker-push: ## Push docker image
docker push $(shell echo ${DOCKER_REPO} | tr '[:upper:]' '[:lower:]'):$(VERSION)
docker push $(DOCKER_REPO):$(VERSION)

.PHONY: cover
cover: ## Runs go test with coverage
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ based on [jessfraz/s3server](https://github.com/jessfraz/s3server)

## Usage

```
```bash
Server to index & view recods in r53 zones.
Version: v0.1.0
Build: 9089a07-dirty
Build: 9089a07
-aws-access-key-id string
AWS access key
-aws-secret-access-key string
Expand All @@ -30,12 +30,12 @@ Server to index & view recods in r53 zones.
## Docker
```
```bash
docker run -d \
-p 8080:8080 \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
so0k/r53server \
quay.io/swo0k/r53server:v0.1.0 \
-zone Z2UE.......... \
-zone Z1W...........
```

0 comments on commit 2e6754e

Please sign in to comment.