Checkout code before invoking whoan/docker-build-with-cache-action@v5
action
#919
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Eduardo Apolinario eapolinario@users.noreply.github.com
TL;DR
The
build-and-push-docker-images
job runs in a separate container, which requires to checkout the code before building the image.Type
Are all requirements met?
Complete description
#915 was not enough to build the docker images. Upon publishing v0.32.0b1 we were still seeing this error:
This indicates that the code is not present at the moment
docker build
is invoked, even though the file exists in the repo.I'm also getting the version from the previous step as that dependency has to be expressed using the full path, in other words, instead of referring to the version using
steps.bump.outputs.version
we usedeploy.steps.bump.outputs.version
.Tracking Issue
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/