-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update org name and add rules to Makefile
- Loading branch information
Julien Kassar
committed
Jul 26, 2021
1 parent
4be745d
commit 0f6394e
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |