diff --git a/ci-templates/industrial-ci-templates.yml b/ci-templates/industrial-ci-templates.yml index 32c70d338ed980a4835cbd6b5f1c9ce397e1b248..d959da18d1fbfc8bcb0c79afd4fe84a366157975 100644 --- a/ci-templates/industrial-ci-templates.yml +++ b/ci-templates/industrial-ci-templates.yml @@ -41,7 +41,7 @@ script: # Run ddeploy - ddeploy --yaml ${DDEPLOY_YAML} - # Get ID of image created by ddeploy + # Get the full name of the most recently built image - 'DDEPLOY_IMAGE_NAME=$(docker images --format="{{.Repository}}:{{.Tag}}" | head -1)' - curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/${GITLAB_TEMPLATES_BRANCH}/scripts/enforce_labels.bash | bash -s -- ${DDEPLOY_IMAGE_NAME} # Tag and push with the branch or tag name.