Commit f33d3621 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Fix makefile and gitlab-ci

parent cfe77c16
Pipeline #1772 failed with stages
in 3 seconds
......@@ -9,7 +9,7 @@ before_script:
push-web:
stage: push
script:
- make -e push-web
- make -e push-docker
only:
- tags
- triggers
......
......@@ -4,17 +4,10 @@ IMAGENAME:=registry.gsi.upm.es/social/somedi-lateral/gsicrawler
VERSIONFILE:=VERSION
include .makefiles/base.mk
#include .makefiles/python.mk
include .makefiles/k8s.mk
build-web: ## Build a specific version (e.g. build-2.7)
docker build -t '$(IMAGENAMEWEB):$(VERSION)' -f dashboard/Dockerfile dashboard/;
build:
docker-compose build
push-web: build-web ## Push the "latest" tag to dockerhub
docker push '$(IMAGENAMEWEB):$(VERSION)'
build-latest: ## Build a specific version (e.g. build-2.7)
docker build -t '$(IMAGENAME):$(VERSION)' -f Dockerfile .;
push-latest: build-latest ## Push the "latest" tag to dockerhub
docker push '$(IMAGENAME):$(VERSION)'
push-docker:
docker-compose push
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment