devth / helm-docker

☸️ helm, gcloud, kubectl, jq + other goodies
https://hub.docker.com/r/devth/helm/
47 stars 39 forks source link

Try to fix failing git push #178

Closed houstonj1 closed 1 year ago

houstonj1 commented 1 year ago

Hoping to fix the git push steps here - so we can get images newer than v3.9.0

Not sure if this is going to work or not, might as well try! πŸ˜„

devth commented 1 year ago

Thanks @houstonj1! GH Actions are hard to debug :(

devth commented 1 year ago

No idea what this means πŸ˜“ something must have changed?

Deleting git tags for v3
Deleted tag 'v3' (was e6a9bd1)
fatal: could not read Username for 'https://github.com/': No such device or address
Error: Process completed with exit code 128.

https://github.com/devth/helm-docker/actions/runs/4853967489/jobs/8650777123

devth commented 1 year ago

Maybe I'll check out https://github.com/nektos/act for local dev / debugging.

houstonj1 commented 1 year ago

@devth Now that this is setup to push to Docker with actions, I am wondering if the major version tagging is overly complex. Maybe we can just add a second push to the docker push to push that docker tag, rather than trying to get the git tagging working for a major version? Thoughts?

I'll add what I think that would look like to this PR

devth commented 1 year ago

Sure, makes sense. Let's try that for now.

houstonj1 commented 1 year ago

@devth The docker/metadata-action is super helpful here.

I used the tags block to add a major version tag - docs

I also removed the git tagging for the major version. We still may run into a git push issue, but at least we have some progress πŸ˜„

houstonj1 commented 1 year ago

@devth Let's do it :shipit:

houstonj1 commented 1 year ago

@devth Do you know if closing & reopening an issue will trigger a new workflow?

devth commented 1 year ago

Yep, opening a new issue triggers it. Trying it: https://github.com/devth/helm-docker/issues/179

devth commented 1 year ago

Failed pushing: https://github.com/devth/helm-docker/actions/runs/4864701082/jobs/8674058881#step:5:8

houstonj1 commented 1 year ago

Okay cool, so same issue. I am wondering if it has something to do with the git config. Going to do some research on this to see if I can find anything.

I also know we need to use your PAT so the action is triggered off the tag push - so I will investigate that path more. πŸ‘