Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tecnalia_robotics-public
templates
Commits
19433cc2
Commit
19433cc2
authored
Nov 09, 2021
by
Jon Azpiazu
Browse files
Redo calling remote script to avoid sh problems
parent
10cdfb0e
Pipeline
#60045
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ci-templates/industrial-ci-templates.yml
View file @
19433cc2
...
...
@@ -42,7 +42,7 @@
-
ddeploy --yaml ${DDEPLOY_YAML}
# Get ID of image created by ddeploy
-
'
DOCKER_ID=$(docker
images
--format="{{.ID}}"
|
head
-1)'
-
bash -xv <(
curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/-/raw/43-force-ddeploy-options-e-g-image-retention/scripts/enforce_labels.bash
) "
${DOCKER_ID}
"
-
curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/-/raw/43-force-ddeploy-options-e-g-image-retention/scripts/enforce_labels.bash
| bash -s --
${DOCKER_ID}
# Tag and push with the branch or tag name.
-
echo "Pushing to ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG}"
-
docker tag ${DOCKER_ID} ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment