mirror of
https://gitlab.com/stilobique/blender-docker.git
synced 2026-05-28 04:37:47 +02:00
Clear unused command, and update the docker build step
This commit is contained in:
@@ -7,8 +7,6 @@ job-build-docker-latest:
|
|||||||
script:
|
script:
|
||||||
- apk add python3
|
- apk add python3
|
||||||
- apk add py3-pip
|
- apk add py3-pip
|
||||||
- pip --version
|
|
||||||
- python3 --version
|
|
||||||
- python3 -m pip install --upgrade pip
|
- python3 -m pip install --upgrade pip
|
||||||
- python3 -m pip install -r requirement-build.txt
|
- python3 -m pip install -r requirement-build.txt
|
||||||
- python3 main.py
|
- python3 main.py
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ def build_docker(b3d_version: (str, str)):
|
|||||||
}
|
}
|
||||||
tag_name = f'stilobique/blender:{args["b3d_vs_major"]}.{args["b3d_vs_minor"]}'
|
tag_name = f'stilobique/blender:{args["b3d_vs_major"]}.{args["b3d_vs_minor"]}'
|
||||||
|
|
||||||
b3d_image = client.images.build(path="./", buildargs=args, tag=tag_name)
|
b3d_image = client.images.build(path=pathlib.Path(os.getcwd(), 'Dockerfile'), buildargs=args, tag=tag_name)
|
||||||
b3d_image.push()
|
b3d_image.push()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user