-
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.
fix: don't rebuild so much for local deploy (#27)
- Loading branch information
1 parent
2cc0ea8
commit 0707fbb
Showing
2 changed files
with
10 additions
and
5 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
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,6 +1,10 @@ | ||
build: | ||
docker build --platform linux/amd64 --build-arg HOME_DIRECTORY=$$HOME -t registry.int.renwickpl.space/promiseofcake/artifactsmmo-engine . | ||
docker push registry.int.renwickpl.space/promiseofcake/artifactsmmo-engine | ||
docker build --platform linux/amd64 -t $(HOME_DOCKER_REGISTRY)/promiseofcake/artifactsmmo-engine . | ||
|
||
|
||
deploy: build | ||
docker push $(HOME_DOCKER_REGISTRY)/promiseofcake/artifactsmmo-engine | ||
curl -XPOST $(ARTIFACTS_WEBHOOK) | ||
|
||
test: | ||
go test ./... |