Commit 52e01d35 authored by jcorvi's avatar jcorvi
Browse files

Update .gitlab-ci.yml

parent 77b6e1b0
Pipeline #24847 failed with stage
in 2 minutes and 27 seconds
variables: variables:
DOCKER_USER: javicorvi DOCKER_REGISTRY: registry.gitlab.bsc.es
DOCKER_BUILD: $DOCKER_USER/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME IMAGE_FULL_PATH: $DOCKER_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_NAME
stages: stages:
- build - build
build_docker_image: build_docker_image:
stage: build stage: build
script: script:
- docker login -u javicorvi -p $DOCKER_PASS - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $DOCKER_REGISTRY
- docker build -t $DOCKER_BUILD . - docker build -t $IMAGE_FULL_PATH .
- docker push $DOCKER_BUILD - docker push $IMAGE_FULL_PATH
tags: tags:
- build - build
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