File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,20 +95,12 @@ test: ## Run Go tests
9595
9696.PHONY : build-image
9797build-image : # # Build container image (use REPO= and TAG= to specify image)
98- @if [ -z " $( REPO) " ]; then \
99- echo " Error: REPO is required. Usage: make build-image REPO=ghcr.io/myorg/maas-api" ; \
100- exit 1; \
101- fi
10298 @echo " Building container image $( FULL_IMAGE) ..."
10399 $(CONTAINER_ENGINE ) build $(CONTAINER_ENGINE_EXTRA_FLAGS ) -t $(FULL_IMAGE ) .
104100 @echo " Container image $( FULL_IMAGE) built successfully"
105101
106102.PHONY : push-image
107103push-image : # # Push container image (use REPO= and TAG= to specify image)
108- @if [ -z " $( REPO) " ]; then \
109- echo " Error: REPO is required. Usage: make push-image REPO=ghcr.io/myorg/maas-api" ; \
110- exit 1; \
111- fi
112104 @echo " Pushing container image $( FULL_IMAGE) ..."
113105 @$(CONTAINER_ENGINE ) push $(FULL_IMAGE )
114106 @echo " Container image $( FULL_IMAGE) pushed successfully"
You can’t perform that action at this time.
0 commit comments