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

Fix 5

parent e741b565
......@@ -6,7 +6,6 @@ image: gsiupm/dockermake:latest
variables:
DOCKER_DRIVER: overlay
DOCKERFILE: Dockerfile
VERSION: $CI_BUILD_REF
IMAGENAME: $CI_REGISTRY_IMAGE
stages:
......@@ -44,28 +43,18 @@ push-3.5:
<<: *image_definition
variables:
PYTHON_VERSION: "3.5"
VERSION: $CI_BUILD_TAG
push-2.7:
<<: *image_definition
variables:
PYTHON_VERSION: "2.7"
VERSION: $CI_BUILD_TAG
push-main:
<<: *image_definition
variables:
PYTHON_VERSION: main
VERSION: $CI_BUILD_TAG
push-latest:
<<: *image_definition
variables:
PYTHON_VERSION: latest
VERSION: $CI_BUILD_TAG
only:
- master
- tags
- triggers
clean :
......
......@@ -98,12 +98,10 @@ push-latest: build-$(PYMAIN)
docker push '$(IMAGENAME)'
docker push '$(IMAGEWTAG)'
push-main: push-$(PYMAIN)
push-%: build-%
docker push $(IMAGENAME):$(VERSION)-python$*
ci:
gitlab-runner exec docker --docker-volumes /var/run/docker.sock:/var/run/docker.sock --env CI_PROJECT_NAME=$(NAME) ${action}
.PHONY: test test-% test-all build-% build test pip_test run yapf dev ci version .FORCE
.PHONY: test test-% test-all build-% build test pip_test run yapf push-main push-% dev ci version .FORCE
Markdown is supported
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