Skip to content

Update goreleaser CI/CD job to use a go container and install using `go install`

Patrick Rice requested to merge update-goreleaser-ci-job into main
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

Go releaser was slow to update go versions compared to our repository, often causing mismatches between the version of go required to compile the provider and the version of go provided in the container. To prevent that issue, I've migrated the goreleaser jobs to use a normal go container and install the binary during CI time, ensuring we can control the go version.

While this slightly extends the CI job, it's significantly more stable as we take updates to go.

Edited by 🤖 GitLab Bot 🤖

Merge request reports