Commit e2941df8 authored by Cresson Remi's avatar Cresson Remi
Browse files

ADD: docker pull

parent 62b4485b
3 merge requests!39Release 3.2,!33Enhance CI docker build,!26TFRecord, to_tfrecords(), refac python modules, new CI
Pipeline #35884 canceled with stages
in 11 minutes and 39 seconds
Showing with 4 additions and 1 deletion
+4 -1
...@@ -6,7 +6,9 @@ variables: ...@@ -6,7 +6,9 @@ variables:
OTB_TEST_DIR: $OTB_BUILD/Testing/Temporary # OTB testing directory OTB_TEST_DIR: $OTB_BUILD/Testing/Temporary # OTB testing directory
ARTIFACT_TEST_DIR: $CI_PROJECT_DIR/testing ARTIFACT_TEST_DIR: $CI_PROJECT_DIR/testing
CRC_BOOK_TMP: /tmp/crc_book_tests_tmp CRC_BOOK_TMP: /tmp/crc_book_tests_tmp
DOCKER_BUILDKIT: 1
DOCKER_DRIVER: overlay2
workflow: workflow:
rules: rules:
- if: $CI_MERGE_REQUEST_ID # Execute jobs in merge request context - if: $CI_MERGE_REQUEST_ID # Execute jobs in merge request context
...@@ -45,6 +47,7 @@ docker image: ...@@ -45,6 +47,7 @@ docker image:
--cache-from $CI_REGISTRY_IMAGE:otbtf-base-$CI_COMMIT_REF_NAME --cache-from $CI_REGISTRY_IMAGE:otbtf-base-$CI_COMMIT_REF_NAME
--tag $CI_REGISTRY_IMAGE:otbtf-base-$CI_COMMIT_REF_NAME --tag $CI_REGISTRY_IMAGE:otbtf-base-$CI_COMMIT_REF_NAME
--build-arg BASE_IMG="ubuntu:20.04" --build-arg BASE_IMG="ubuntu:20.04"
--build-arg BUILDKIT_INLINE_CACHE=1
. .
- docker push $CI_REGISTRY_IMAGE:otbtf-base-$CI_COMMIT_REF_NAME - docker push $CI_REGISTRY_IMAGE:otbtf-base-$CI_COMMIT_REF_NAME
- > - >
......
Supports Markdown
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