Updated build and fixed entry pint
This commit is contained in:
parent
ad92cd2899
commit
338d2033bb
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@ -20,4 +20,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and Push from Makefile
|
- name: Build and Push from Makefile
|
||||||
run: |
|
run: |
|
||||||
make build
|
make build publish
|
||||||
|
5
Makefile
5
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user