mirror of
https://gitlab.com/stilobique/blender-docker.git
synced 2026-05-28 12:41:22 +02:00
25 lines
769 B
YAML
25 lines
769 B
YAML
image: docker:19.03.12
|
|
|
|
job-init:
|
|
stage: .pre
|
|
script: echo "make something useful before build stage"
|
|
|
|
job-build-docker-latest:
|
|
stage: build
|
|
services:
|
|
- docker:19.03.12-dind
|
|
script:
|
|
- apk update && apk add curl jq python3 py3-pip
|
|
- export export MAJOR=$(jq -r .b3d_vs_major build.json)
|
|
- export export MINOR=$(jq -r .b3d_vs_minor build.json)
|
|
- echo Blender version are $MAJOR
|
|
- echo The Minor blender version are $MINOR
|
|
- docker login --username stilobique --password $docker_hub_password
|
|
- docker build --build-arg b3d_vs_major=$MAJOR --build-arg b3d_vs_minor=$MINOR --tag stilobique/blender:$MAJOR.$MINOR .
|
|
- docker push
|
|
|
|
#job-build-docker-tag:
|
|
# stage: build
|
|
# script:
|
|
# - docker build -t stilobique/blender:latest
|