mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
Moved before_script to images
This commit is contained in:
parent
528bbcac35
commit
7cc8b562f4
@ -7,9 +7,6 @@ variables:
|
||||
DOCKER_DRIVER: overlay
|
||||
DOCKERFILE: Dockerfile
|
||||
|
||||
before_script:
|
||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
|
||||
|
||||
stages:
|
||||
- test
|
||||
- images
|
||||
@ -46,6 +43,8 @@ test-2.7:
|
||||
.image: &image_definition
|
||||
variables:
|
||||
PYTHON_VERSION: "3.5"
|
||||
before_script:
|
||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
|
||||
script:
|
||||
- docker build -f Dockerfile-3.5 . -t $CI_REGISTRY_IMAGE:$CI_BUILD_TAG-$PYTHON_VERSION
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_BUILD_TAG-$PYTHON_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user