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

Fix annotations #690

Merged
merged 1 commit into from
May 22, 2023
Merged

Fix annotations #690

merged 1 commit into from
May 22, 2023

Conversation

amouat
Copy link
Contributor

@amouat amouat commented May 22, 2023

This PR adds the annotation flag to apko build for equivalence with publish.

It also fixes a bug where the annotations from the yaml config were deleted.

This PR could do with some tests - I'd appreciate any advice on where/how to add these.

@amouat amouat requested a review from a team as a code owner May 22, 2023 11:39
@amouat amouat requested review from luhring and removed request for a team May 22, 2023 11:39
- Can now pass annotations to build.
- Publish includes annotations from yaml.

Signed-off-by: Adrian Mouat <adrian@chainguard.dev>
@amouat amouat force-pushed the build_annotation branch from c86ec01 to 497e2c2 Compare May 22, 2023 11:40
Copy link
Member

@imjasonh imjasonh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, can we get a test as well?

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@amouat
Copy link
Contributor Author

amouat commented May 22, 2023

Looks good, can we get a test as well?

Yeah, I wanted to do this, but wasn't quite sure where to put it! I was hoping there was a similar test I could crib from.

@imjasonh imjasonh merged commit 8da2b41 into chainguard-dev:main May 22, 2023
@amouat amouat deleted the build_annotation branch May 22, 2023 12:41
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.

3 participants