diff --git a/.goreleaser.yml b/.goreleaser.yml index 8c98520e..4f8f411e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,7 +20,11 @@ builds: goarch: - amd64 - arm64 - + - arm + + goarm: + - 6 + - 7 archives: - diff --git a/Makefile b/Makefile index 890911c9..0cb9b938 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,9 @@ $(DIR)/vultr-cli_windows_386.exe: $(DIR) $(DIR)/vultr-cli_windows_amd64.exe: $(DIR) env GOOS=windows GOARCH=amd64 go build -o $@ +$(DIR)/vultr-cli_linux_arm: $(DIR) + env GOOS=linux GOARCH=arm go build -o $@ + remove: @rm -rf builds @@ -37,4 +40,4 @@ format: docker: docker build . -t vultr/vultr-cli - docker push vultr/vultr-cli \ No newline at end of file + docker push vultr/vultr-cli diff --git a/README.md b/README.md index fb7e3705..c5a3725d 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ The available make build options are - make builds/vultr-cli_linux_arm64 - make builds/vultr-cli_windows_386.exe - make builds/vultr-cli_windows_amd64.exe +- make builds/vultr-cli_linux_arm Note that the latter method will install the `vultr-cli` executable in `builds/vultr-cli_(name of os + arch)`.