Move the webapp into the codevalet Docker Hub organization

This commit is contained in:
R. Tyler Croy 2017-12-21 09:36:54 -08:00
parent 662861bac1
commit e4c744f257
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 8 additions and 4 deletions

View File

@ -35,7 +35,7 @@ items:
spec:
containers:
- name: 'webapp'
image: 'rtyler/codevalet-webapp:latest'
image: 'codevalet/webapp:latest'
imagePullPolicy: Always
ports:
- containerPort: 9292

View File

@ -1,3 +1,4 @@
IMAGE_NAME=codevalet/webapp
all: check container
@ -13,10 +14,13 @@ run: depends monkeys.txt
./scripts/ruby bundle exec puma
check-container: container
docker run --rm rtyler/codevalet-webapp:latest bundle exec puma --version
docker run --rm $(IMAGE_NAME):latest bundle exec puma --version
container: depends Dockerfile monkeys.txt
docker build -t rtyler/codevalet-webapp .
docker build -t $(IMAGE_NAME) .
deploy: check-container
docker push $(IMAGE_NAME):latest
clean:
rm -rf vendor
@ -24,4 +28,4 @@ clean:
monkeys.txt: ../monkeys.txt
cp ../monkeys.txt .
.PHONY: all depends clean run check container spec check-container
.PHONY: all depends clean run check container spec check-container deploy