Make deployment image entrypoint script executable after wget

parent f503514f
...@@ -44,6 +44,7 @@ industrial_ci_kinetic_deploy: ...@@ -44,6 +44,7 @@ industrial_ci_kinetic_deploy:
- cd $(mktemp -d) - cd $(mktemp -d)
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/Dockerfile - wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/Dockerfile
- 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
- 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 ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
only: only:
......
...@@ -46,6 +46,7 @@ industrial_ci_kinetic_deploy: ...@@ -46,6 +46,7 @@ industrial_ci_kinetic_deploy:
- cd $(mktemp -d) - cd $(mktemp -d)
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/Dockerfile - wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/deploy-image-build/deploy/Dockerfile
- 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
- 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 ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
only: only:
......
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