opiproject / sztp

Secure Zero Touch Provisioning (sZTP) in OPI
Apache License 2.0
20 stars 14 forks source link

ci: Build binaries using goreleaser #440

Closed h0lyalg0rithm closed 1 month ago

h0lyalg0rithm commented 2 months ago

Proposed changes

This PR introduces the option to build 64bit binaries for x86_64 and arm64.The releases are generated when new tags are created and pushed to the repo. I was able to simulate it on my fork https://github.com/h0lyalg0rithm/sztp/actions/runs/10165872886 I have set the go version to 1.19 instead of 1.20 or 1.21 because of the go.mod version

Refers to this issue #432

Types of changes

What types of changes does your code introduce to the repo? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

h0lyalg0rithm commented 2 months ago

@glimchb Can you approve the workflows?