Skip to content

Commit

Permalink
feat: add 'make release'
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jan 15, 2019
1 parent 6a651d2 commit 1e7b94e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ENV GO111MODULE=on
COPY go.* /go/src/ultre.me/calcbiz/
RUN go mod download
COPY . /go/src/ultre.me/calcbiz/
RUN make _ci_prepare
RUN make release

FROM alpine:3.8
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ docker.build:
docker.release: docker.build
docker push ultreme/calcbiz

.PHONY: release
release: docker.release
.PHONY: deploy
deploy: docker.release
ssh zrwf.m.42.am -xec 'cd ~/go/src/ultre.me/calcbiz; git pull; make docker.up'

0 comments on commit 1e7b94e

Please sign in to comment.