mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
Will anything break this time? We shall see
This commit is contained in:
parent
9daae8dda7
commit
668a803d89
@ -44,28 +44,24 @@ push-3.5:
|
|||||||
variables:
|
variables:
|
||||||
PYTHON_VERSION: "3.5"
|
PYTHON_VERSION: "3.5"
|
||||||
VERSION: $CI_BUILD_TAG
|
VERSION: $CI_BUILD_TAG
|
||||||
IMAGENAME: $CI_REGISTRY_IMAGE
|
|
||||||
|
|
||||||
push-2.7:
|
push-2.7:
|
||||||
<<: *image_definition
|
<<: *image_definition
|
||||||
variables:
|
variables:
|
||||||
PYTHON_VERSION: "2.7"
|
PYTHON_VERSION: "2.7"
|
||||||
VERSION: $CI_BUILD_TAG
|
VERSION: $CI_BUILD_TAG
|
||||||
IMAGENAME: $CI_REGISTRY_IMAGE
|
|
||||||
|
|
||||||
push-main:
|
push-main:
|
||||||
<<: *image_definition
|
<<: *image_definition
|
||||||
variables:
|
variables:
|
||||||
PYTHON_VERSION: main
|
PYTHON_VERSION: main
|
||||||
VERSION: $CI_BUILD_TAG
|
VERSION: $CI_BUILD_TAG
|
||||||
IMAGENAME: $CI_REGISTRY_IMAGE
|
|
||||||
|
|
||||||
push-latest:
|
push-latest:
|
||||||
<<: *image_definition
|
<<: *image_definition
|
||||||
variables:
|
variables:
|
||||||
PYTHON_VERSION: latest
|
PYTHON_VERSION: latest
|
||||||
VERSION: $CI_BUILD_TAG
|
VERSION: $CI_BUILD_TAG
|
||||||
IMAGENAME: $CI_REGISTRY_IMAGE
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- tags
|
- tags
|
||||||
|
6
Makefile
6
Makefile
@ -98,11 +98,11 @@ push-latest: build-$(PYMAIN)
|
|||||||
docker push '$(IMAGENAME)'
|
docker push '$(IMAGENAME)'
|
||||||
docker push '$(IMAGEWTAG)'
|
docker push '$(IMAGEWTAG)'
|
||||||
|
|
||||||
push-%: build-%
|
|
||||||
docker push $(IMAGE):$(VERSION)-python$*
|
|
||||||
|
|
||||||
push-main: push-$(PYMAIN)
|
push-main: push-$(PYMAIN)
|
||||||
|
|
||||||
|
push-%: build-%
|
||||||
|
docker push $(IMAGENAME):$(VERSION)-python$*
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
gitlab-runner exec docker --docker-volumes /var/run/docker.sock:/var/run/docker.sock --env CI_PROJECT_NAME=$(NAME) ${action}
|
gitlab-runner exec docker --docker-volumes /var/run/docker.sock:/var/run/docker.sock --env CI_PROJECT_NAME=$(NAME) ${action}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user