Skip to content

Commit

Permalink
fix makefile deps, allow docker registry passing in
Browse files Browse the repository at this point in the history
  • Loading branch information
blockloop committed Apr 15, 2024
1 parent 35e02d8 commit f74bd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

DOCKER_REGISTRY := ghcr.io/privacy-com/ci-images
DOCKER_REGISTRY ?= ghcr.io/privacy-com/ci-images

DOCKERFILES := $(wildcard Dockerfile.*)

Expand All @@ -9,6 +9,6 @@ publish-all: $(patsubst Dockerfile.%,docker-push-%,$(notdir $(DOCKERFILES)))
docker-build-%: Dockerfile.%
docker build . -f Dockerfile.$* -t $(DOCKER_REGISTRY):$*

docker-push-%:
docker-push-%: docker-build-%
docker push $(DOCKER_REGISTRY):$*

0 comments on commit f74bd67

Please sign in to comment.