Skip to content
Snippets Groups Projects
Commit b53e7164 authored by Moul's avatar Moul
Browse files

[ci] #388: Remove pull steps

parent 2cb0b9d5
No related branches found
No related tags found
No related merge requests found
Pipeline #11689 failed
...@@ -86,8 +86,7 @@ tests-3.9: ...@@ -86,8 +86,7 @@ tests-3.9:
PYTHON_VERSION: "3.9" PYTHON_VERSION: "3.9"
script: script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_BUILD_TOKEN" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker pull $CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA || true - docker build -t "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA" -f release/$KIND-image --build-arg PYTHON_VERS=$PYTHON_VERSION .
- docker build --cache-from $CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA --pull -t "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA" -f release/$KIND-image --build-arg PYTHON_VERS=$PYTHON_VERSION .
- docker push "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA" - docker push "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA"
- docker tag "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA" "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_BRANCH" - docker tag "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_SHORT_SHA" "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_BRANCH"
- docker push "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_BRANCH" - docker push "$CI_REGISTRY_IMAGE/$KIND:$CI_COMMIT_BRANCH"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment