Skip to content

Skip build+push based on time instead#4

Merged
efrecon merged 3 commits intomainfrom
feature/time-based-skip
Nov 27, 2023
Merged

Skip build+push based on time instead#4
efrecon merged 3 commits intomainfrom
feature/time-based-skip

Conversation

@efrecon
Copy link
Collaborator

@efrecon efrecon commented Nov 27, 2023

Manifests (for multi-platform images) are not entirely the same as images. As setting annotations on them (instead of labels) to detect necessary (re)builds is complex, this uses the time of the git commit vs. the time of the image build for the decision. Note that the test is not entirely exact, as what is returned is the time for when the image for the current platform was built (not the manifest), but this information is "good enough" as the build is only run from time to time.

@efrecon efrecon self-assigned this Nov 27, 2023
@efrecon efrecon merged commit b37e185 into main Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant