initial
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
.PHONY: all build push
|
||||
|
||||
IMAGE_NAME := alpine-customizable
|
||||
IMAGE_VERSION := v0.1.0
|
||||
IMAGE_TAG := $(IMAGE_NAME):$(IMAGE_VERSION)
|
||||
REMOTE_TAG = registry.uint32.ru/$(IMAGE_TAG)
|
||||
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
@echo "Building Docker image: $(IMAGE_TAG)"
|
||||
docker build -t $(IMAGE_TAG) .
|
||||
|
||||
push:
|
||||
@echo "Pushing Docker image: $(REMOTE_TAG)"
|
||||
docker tag $(IMAGE_TAG) $(REMOTE_TAG)
|
||||
docker push $(REMOTE_TAG)
|
||||
Reference in New Issue
Block a user