diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dcea90a..b620b6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,8 +9,12 @@ job-build-docker-latest: services: - docker:19.03.12-dind script: + - export VERSION=$(node -p "require('./build.json').b3d_vs_major") + - export MINOR=$(node -p "require('./build.json').b3d_vs_minor") + - echo Blender version are $VERSION + - echo The Minor blender version are $MINOR - docker login --username stilobique --password $docker_hub_password - - docker build -t stilobique/blender:latest . + - docker build --build-arg b3d_vs_major=$VERSION --build-arg b3d_vs_minor=$MINOR --tag stilobique/blender:latest . - docker push #job-build-docker-tag: