Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds custom string format parameter to customize ImageSpec's tag #2349

Merged
merged 5 commits into from
May 1, 2024

Conversation

thomasjpfan
Copy link
Member

@thomasjpfan thomasjpfan commented Apr 13, 2024

Why are the changes needed?

This PR allows users to generate any tag they want for their images. This is useful for teams that want to have custom names for managing their docker images.

What changes were proposed in this pull request?

This PR adds a tag_format to ImageSpec which accepts a format string to custom the image's tag.

How was this patch tested?

I added a unit test to check the new behavior.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 13, 2024
Signed-off-by: Thomas J. Fan <[email protected]>
@thomasjpfan thomasjpfan changed the title Adds callable to post process tag Adds custom string format parameter to customize ImageSpec's tag Apr 13, 2024
pingsutw
pingsutw previously approved these changes Apr 14, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Apr 14, 2024
Signed-off-by: Thomas J. Fan <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>

Signed-off-by: Thomas J. Fan <[email protected]>
@thomasjpfan thomasjpfan force-pushed the imagespec-tag-modifier branch from 702fd48 to e528fee Compare April 19, 2024 15:41
@pingsutw pingsutw merged commit 8d258c4 into flyteorg:master May 1, 2024
47 checks passed
austin362667 pushed a commit to austin362667/flytekit that referenced this pull request May 9, 2024
austin362667 pushed a commit to austin362667/flytekit that referenced this pull request May 10, 2024
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
Signed-off-by: Thomas J. Fan <[email protected]>
Co-authored-by: Kevin Su <[email protected]>
Signed-off-by: Jan Fiedler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants