Skip to content

Commit

Permalink
build: remove cache for final image
Browse files Browse the repository at this point in the history
Remove the `--cache-from` that sources the latest nextstrain/base image
from docker.io. This will force all steps of the final image to re-run
but that should be minimal since it's mostly copying directories
from the builder image.
  • Loading branch information
joverlee521 committed May 16, 2023
1 parent 7190f72 commit 4470eff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions devel/build
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ docker buildx build \
--build-arg GIT_REVISION \
--cache-from "$BUILDER_IMAGE:latest" \
--cache-from "$BUILDER_IMAGE:$tag" \
--cache-from "$FINAL_IMAGE:latest" \
--cache-from "$FINAL_IMAGE:$tag" \
--cache-from "$registry/$BUILDER_IMAGE:latest" \
--cache-from "$registry/$BUILDER_IMAGE:$tag" \
--cache-from "$registry/$FINAL_IMAGE:latest" \
Expand Down

0 comments on commit 4470eff

Please sign in to comment.