Skip to content

Commit

Permalink
Update org name and add rules to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Kassar committed Jul 26, 2021
1 parent 4be745d commit 0f6394e
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
REPODIR := "/go/src/github.com/juliengk/pbdeploy"
REPODIR := "/go/src/github.com/juli3nk/pbdeploy"
IMAGE_NAME := juli3nk/pbdeploy

.PHONY: dev
dev:
docker container run -ti --rm \
docker container run -ti \
--rm \
--mount type=bind,src=$$PWD,dst=${REPODIR} \
--mount type=bind,src=$$HOME/Dev/juliengk/go-git,dst=/go/src/github.com/juliengk/go-git \
--mount type=bind,src=$$HOME/Dev/juli3nk/go-git,dst=/go/src/github.com/juli3nk/go-git \
-w ${REPODIR} \
--name pbdeploy_dev \
juliengk/dev:go
juli3nk/dev:go

.PHONY: build
build:
docker image build -t $(IMAGE_NAME) .

.PHONY: push
push:
docker image push $(IMAGE_NAME)

0 comments on commit 0f6394e

Please sign in to comment.