Updated build and fixed entry pint

This commit is contained in:
Sambo Chea 2021-03-30 12:05:29 +07:00
parent ad92cd2899
commit 338d2033bb
2 changed files with 5 additions and 2 deletions

View File

@ -20,4 +20,4 @@ jobs:
- name: Build and Push from Makefile - name: Build and Push from Makefile
run: | run: |
make build make build publish

View File

@ -3,10 +3,13 @@ DOCKER_IMAGE=cubetiq/excel2json
build: build:
@echo "Building docker image..." @echo "Building docker image..."
docker build . -t ${DOCKER_IMAGE} docker build . -t ${DOCKER_IMAGE}
docker push ${DOCKER_IMAGE}
run: run:
@echo "Running container..." @echo "Running container..."
docker run --rm -t ${DOCKER_IMAGE} docker run --rm -t ${DOCKER_IMAGE}
publish:
@echo "Publishing docker image..."
docker push ${DOCKER_IMAGE}
.PHONY: build .PHONY: build