Skip to content

Commit

Permalink
Bump version to v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobotta committed Aug 27, 2022
1 parent 0f29fc9 commit ae309a6
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 13 deletions.
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,35 @@ All that is needed to use this tool is

## Installation

Once you have the Ruby runtime up and running (3.1.2 or newer), you just need to install the gem:
### macOS (Intel)

```bash
wget https://github.com/vitobotta/hetzner-k3s/releases/download/v0.6.0/hetzner-k3s-mac-x64
chmod +x hetzner-k3s-mac-x64
sudo mv hetzner-k3s-mac-x64 /usr/local/bin/hetzner-k3s
```

### macOS (Apple Silicon/M1/ARM)

```bash
wget https://github.com/vitobotta/hetzner-k3s/releases/download/v0.6.0/hetzner-k3s-mac-arm
chmod +x hetzner-k3s-mac-arm
sudo mv hetzner-k3s-mac-arm /usr/local/bin/hetzner-k3s
```

NOTE: currently the ARM version still requires [Rosetta](https://support.apple.com/en-us/HT211861) to function because it's not really an ARM-compiled version yet. It's a different build specifically for ARM Macs because of some differences in openssl between ARM and Intel Macs. A proper ARM version will be available in the future.

### Linux

```bash
wget https://github.com/vitobotta/hetzner-k3s/releases/download/v0.6.0/hetzner-k3s-linux-x64
chmod +x hetzner-k3s-linux-x64
sudo mv hetzner-k3s-linux-x64 /usr/local/bin/hetzner-k3s
```

### As Ruby gem executable

Once you have the Ruby runtime up and running (2.7.1 required), you just need to install the gem:

```bash
gem install hetzner-k3s
Expand Down
17 changes: 6 additions & 11 deletions bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@

set -e

# IMAGE="vitobotta/hetzner-k3s"
IMAGE="vitobotta/hetzner-k3s"

# docker build -t ${IMAGE}:v0.5.9 \
# --platform=linux/amd64 \
# --cache-from ${IMAGE}:v0.5.8 \
# --build-arg BUILDKIT_INLINE_CACHE=1 .
docker build -t ${IMAGE}:v0.5.9 \
--platform=linux/amd64 \
--cache-from ${IMAGE}:v0.5.8 \
--build-arg BUILDKIT_INLINE_CACHE=1 .

# docker push vitobotta/hetzner-k3s:v0.5.9
docker push vitobotta/hetzner-k3s:v0.5.9

warble

echo "#!/usr/bin/env java -jar" > dist/hetzner-k3s
cat dist/hetzner-k3s.jar >> dist/hetzner-k3s
chmod +x dist/hetzner-k3s
2 changes: 1 addition & 1 deletion lib/hetzner/k3s/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Hetzner
module K3s
VERSION = '0.6.0.pre29'
VERSION = '0.6.0'
end
end

0 comments on commit ae309a6

Please sign in to comment.