postgresml/pgcat

tag container with release tags

Opened this issue · 6 comments

Hi,

It will be better if the container could be tagged using the release tags,
it will be much more easy to find target versions.

@levkk what do you think about pushing the builds only in the main tag and all tags?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-branches-and-tags

the config in build-and-push.yaml will be something like this:

# ...
on:
  push:
    branches:    
      - main
    tags:
      - v*

Let me know if you agree so I can send another PR.

levkk commented

That works I think.

there we go: #508

Before closing this issue, do you think that it will be nice to add a goreleaser config file to automatically generate a release when a new tag is created?

@levkk I noticed that you merged my PR. It worked for the main branch, is the case to create a new tag to validate it? Something like v1.0.1 should work.

levkk commented

Will test it out as soon as I can release the next version. Probably early next week, we're overdue for a release!