Initial commit
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
.DEFAULT_GOAL := default
|
||||
|
||||
IMAGE := docker.cloud.cluster.fun/averagemarcus/website-to-remarkable:latest
|
||||
|
||||
.PHONY: docker-build # Build the docker image
|
||||
docker-build:
|
||||
@docker build -t $(IMAGE) .
|
||||
|
||||
.PHONY: publish # Publish the docker image to the Artifactory registry
|
||||
publish:
|
||||
@docker push $(IMAGE)
|
||||
|
||||
.PHONY: help # Show this list of commands
|
||||
help:
|
||||
@grep '^.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1: \2/' | expand -t20
|
||||
|
||||
default: format test build
|
||||
|
Reference in New Issue
Block a user