Commit 5ebf26b4 authored by Prada Sarasola, Miguel's avatar Prada Sarasola, Miguel
Browse files

Deploy application image to internal registry

parent 37a72dd8
...@@ -46,7 +46,7 @@ industrial_ci_kinetic_deploy: ...@@ -46,7 +46,7 @@ industrial_ci_kinetic_deploy:
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/ros_entrypoint.bash - wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/ros_entrypoint.bash
- chmod a+x ros_entrypoint.bash - chmod a+x ros_entrypoint.bash
- docker build -t ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} . - docker build -t ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} .
- docker push ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} - docker push ${ARTIFACT_DOCKER_URL}/${ARTIFACT_DOCKER_REGISTRY_NAME}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
only: only:
- tags - tags
......
...@@ -48,7 +48,7 @@ industrial_ci_kinetic_deploy: ...@@ -48,7 +48,7 @@ industrial_ci_kinetic_deploy:
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/ros_entrypoint.bash - wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/ros_entrypoint.bash
- chmod a+x ros_entrypoint.bash - chmod a+x ros_entrypoint.bash
- docker build -t ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} . - docker build -t ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} .
- docker push ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME} - docker push ${ARTIFACT_DOCKER_URL}/${ARTIFACT_DOCKER_REGISTRY_NAME}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
only: only:
- tags - tags
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment