Skip to content
Snippets Groups Projects
Commit 5ebf26b4 authored by Prada Sarasola, Miguel's avatar Prada Sarasola, Miguel
Browse files

Deploy application image to internal registry

parent 37a72dd8
Branches
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment