Commit bfc31401 authored by Wiktor Walentynowicz's avatar Wiktor Walentynowicz 🛋

CI/CD

parent 22cd801f
Pipeline #286 passed with stage
in 7 minutes and 54 seconds
image: docker:18.09.7
stages:
- build
build_image_3.6:
stage: build
only:
- master
services:
- docker:18.09.7-dind
script:
- cd 3.6
- docker build -t clarinpl/cuda-python:3.6 .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push clarinpl/cuda-python:3.6
build_image_3.7:
stage: build
only:
- master
services:
- docker:18.09.7-dind
script:
- cd 3.7
- docker build -t clarinpl/cuda-python:3.7 .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push clarinpl/cuda-python:3.7
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