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

Goreleaser #241

Merged
merged 11 commits into from
Sep 24, 2021
Merged

Goreleaser #241

merged 11 commits into from
Sep 24, 2021

Conversation

tsmethurst
Copy link
Contributor

@tsmethurst tsmethurst commented Sep 22, 2021

This PR reworks some of the automation and build steps for GtS.

In particular, it adds a dependency on goreleaser, which we can use for easily producing multi-architecture builds, and packaging release files/tars/etc etc.

In order to make goreleaser work in our existing Drone ci/cd pipeline, I also had to make a few changes to the drone file.

The overall goal of this PR is to allow the following to happen:

  1. When a merge is done into main from a pull request, build a docker image snapshot using goreleaser, and then push it as latest (so, similar to what we do now).
  2. When a tag is pushed to the repository, cut a release from the tag, build all the binaries and tar them up with assets, and then push them onto github. ALSO push a docker container with that tag to the docker repo, and update 'latest'. In other words, totally automate the release when a tag is pushed.

@tsmethurst tsmethurst merged commit d515c9f into main Sep 24, 2021
@tsmethurst tsmethurst deleted the goreleaser branch September 24, 2021 11:14
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.

1 participant