Skip to content

Commit

Permalink
ci: fix duplicate build context
Browse files Browse the repository at this point in the history
  • Loading branch information
rimelek committed Jul 23, 2022
1 parent c3155bf commit c6628c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/build.cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ write_info "Add the following tags to the image: "
write_info "- $image"
write_info "- $CI_IMAGE_NAME:build-$CI_BUILD_NUMBER"

docker_build . \
docker_build \
--cache-from "$CI_PARENT_IMAGE" \
--cache-from "$CI_IMAGE_NAME:$VERSION_CACHE" \
--tag "$image" \
Expand Down
2 changes: 1 addition & 1 deletion ci/build.push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ "$(isBranch)" == "true" ]; then
write_info "- $image"
write_info "- $CI_IMAGE_NAME:build-$CI_BUILD_NUMBER"

docker_build . \
docker_build \
--cache-from "$CI_PARENT_IMAGE" \
--cache-from "$CI_IMAGE_NAME:$VERSION_CACHE" \
--tag "$image" \
Expand Down

0 comments on commit c6628c2

Please sign in to comment.