1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-21 15:52:28 +00:00

Will anything break this time? We shall see

This commit is contained in:
J. Fernando Sánchez 2017-02-27 20:38:55 +01:00
parent 9daae8dda7
commit 668a803d89
2 changed files with 3 additions and 7 deletions

View File

@ -44,28 +44,24 @@ push-3.5:
variables:
PYTHON_VERSION: "3.5"
VERSION: $CI_BUILD_TAG
IMAGENAME: $CI_REGISTRY_IMAGE
push-2.7:
<<: *image_definition
variables:
PYTHON_VERSION: "2.7"
VERSION: $CI_BUILD_TAG
IMAGENAME: $CI_REGISTRY_IMAGE
push-main:
<<: *image_definition
variables:
PYTHON_VERSION: main
VERSION: $CI_BUILD_TAG
IMAGENAME: $CI_REGISTRY_IMAGE
push-latest:
<<: *image_definition
variables:
PYTHON_VERSION: latest
VERSION: $CI_BUILD_TAG
IMAGENAME: $CI_REGISTRY_IMAGE
only:
- master
- tags

View File

@ -98,11 +98,11 @@ push-latest: build-$(PYMAIN)
docker push '$(IMAGENAME)'
docker push '$(IMAGEWTAG)'
push-%: build-%
docker push $(IMAGE):$(VERSION)-python$*
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}