Skip to content

Image Updater continuously force-pushes new commits when checkout branch is specified. #895

@katainaka0503

Description

@katainaka0503

Describe the bug
After upgrading to v0.15.0, if pushBranch is not the same as checkOutBranch , argocd image updater continuously force pushes new commits.

To Reproduce

  • Set argocd-image-updater.argoproj.io/git-branch to :image-updater/master/account/{{range .Images}}{{.Name}}-{{.NewTag}}{{end}}

Expected behavior
If there is no change, nothing is pushed.

Additional context

Version
After v0.15.0

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockerbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions