[ADD] gitlab_tools: script for the upload_image process
Now the image is built and pushed using a python script, the image name is generated using the CUSTOMER
and CI_BUILD_REF_NAME
env vars, if the variable CUSTOMER
is not set it will use the var CI_PROJECT_NAME
and pushes it to quay.io/vauxoo/image_name, so if the created image is vauxoo100 it will be pushed to quay.io/vauxoo/vauxoo100:latest and quay.io/vauxoo/vauxoo100:{ commit }.
Using these env vars:
this was the image built and this is how it was pushed:
Attached is the log of the build so you can see the whole process.
first_upload_log