Updated docker build and publish
This commit is contained in:
parent
e1ebbf67d8
commit
3a0191a5d6
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
|
||||
run: |
|
||||
make build publish
|
||||
make build
|
||||
|
5
Makefile
5
Makefile
@ -3,13 +3,10 @@ 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 "Pubishing docker image..."
|
||||
docker push ${DOCKER_IMAGE}
|
||||
|
||||
.PHONY: build
|
||||
|
Loading…
Reference in New Issue
Block a user