Skip to content

Commit

Permalink
Update .dockerignore and docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
tshak committed Feb 11, 2020
1 parent 5a8eea6 commit 967ed28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Dockerfile
.git
PROJECT
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
IMG ?= riserplatform/riser-controller:latest
IMG ?= riserplatform/riser-controller
TAG ?= latest
SDKVERSION ?= latest

# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
Expand Down Expand Up @@ -44,11 +45,11 @@ generate: controller-gen

# Build the docker image
docker-build:
docker build . -t ${IMG}
docker build . -t ${IMG}:${TAG}

# Push the docker image
docker-push:
docker push ${IMG}
docker push ${IMG}:${TAG}

# find or download controller-gen
# download controller-gen if necessary
Expand Down

0 comments on commit 967ed28

Please sign in to comment.