Skip to content

Support mulitple image tags in webhook #1560

Description

@lgolijashvili

Is your feature request related to a problem? Please describe.
We have multiple container argo apps, built in github ci matrix in parallel, at the end we have webhook for image-updater, but right now as it supports one image per webhook, we sent multiple requests and have issue when image updater receives multiple webhooks for same argo app, it tries to commit in the same file and we are getting below error:

Could not update application spec: could not push main to origin: git push origin main failed exit status 1: To https://github.com/test/helm-repo.git\n ! [remote rejected] main -> main (cannot lock ref 'refs/heads/main': is at 734e6d108a89cba5942f242f64b62f31e69349a1 but expected 08ca2b2b9c0c3088973a5add46240a02d775c9d8)\nerror: failed to push some refs to '

Describe the solution you'd like
it would be great to be able to push all image updates with one webhook and image updater created one commit including all image tags
Describe alternatives you've considered

Version
This feature request applies to (check all that apply):

  • Annotation-based configuration (versions starting with 0, e.g., 0.17.0)
  • CRD-based configuration (versions starting with 1, e.g., 1.0.0)

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions