Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Oct 3, 2024
1 parent 544b1dc commit fd47574
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
DOCKER_IMAGE?=dockette/deploy
DOCKER_PLATFORM?=linux/amd64

_docker-build:
docker buildx \
build \
--platform ${DOCKER_PLATFORM} \
--pull \
-t ${DOCKER_IMAGE}:${VERSION} \
./${CONTEXT}

.PHONY: build-deployer6
build-deployer6:
VERSION=deployer6 CONTEXT=deployer/v6 $(MAKE) _docker-build

.PHONY: build-deployer7
build-deployer7:
VERSION=deployer7 CONTEXT=deployer/v7 $(MAKE) _docker-build

0 comments on commit fd47574

Please sign in to comment.