Browse Source

Updated build and fixed entry pint

main
Sambo Chea 1 month ago
parent
commit
338d2033bb
  1. 2
      .github/workflows/docker-publish.yml
  2. 5
      Makefile

2
.github/workflows/docker-publish.yml

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

5
Makefile

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