Skip to content

Commit

Permalink
ci: allow cache usage to avoid running out of space
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoquintanav committed Sep 10, 2024
1 parent 09ef1c2 commit 93fa112
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ build-builder-image-pre-release:
stage: build
before_script: *docker-login-before-script
script:
- docker build --pull -t $IMAGE_NAME_MAIN_PRE_RELEASE --progress=plain --target=builder --no-cache -f docker/main/Dockerfile .
- docker build --pull -t $IMAGE_NAME_MAIN_PRE_RELEASE --progress=plain --target=builder -f docker/main/Dockerfile .
- docker push $IMAGE_NAME_MAIN_PRE_RELEASE
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
Expand All @@ -118,7 +118,7 @@ build-main-image-pre-release:
stage: build
before_script: *docker-login-before-script
script:
- docker build --pull -t $IMAGE_NAME_MAIN_PRE_RELEASE --progress=plain --target=main --no-cache -f docker/main/Dockerfile .
- docker build --pull -t $IMAGE_NAME_MAIN_PRE_RELEASE --progress=plain --target=main -f docker/main/Dockerfile .
- docker push $IMAGE_NAME_MAIN_PRE_RELEASE
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
Expand All @@ -140,7 +140,7 @@ build-dbt-deps-image-pre-release:
stage: build
before_script: *docker-login-before-script
script:
- docker build --pull -t $IMAGE_NAME_DBT_DEPS_PRE_RELEASE --progress=plain --target=dbt-deps --no-cache -f docker/main/Dockerfile .
- docker build --pull -t $IMAGE_NAME_DBT_DEPS_PRE_RELEASE --progress=plain --target=dbt-deps -f docker/main/Dockerfile .
- docker push $IMAGE_NAME_DBT_DEPS_PRE_RELEASE
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
Expand Down

0 comments on commit 93fa112

Please sign in to comment.