Skip to content

Commit 6d70c05

Browse files
Merge branch 'master' into feature/make-more-data-public
# Conflicts: # .github/workflows/manual-build.yml # driver.go # go.sum
2 parents 016a38a + cbd4c52 commit 6d70c05

File tree

7 files changed

+536
-167
lines changed

7 files changed

+536
-167
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(fromJSON('["mxschmitt", "JonasProgrammer"]'), github.actor) }}
3131
steps:
3232
- uses: actions/checkout@v2
33+
- name: Set up Go
34+
uses: actions/setup-go@v2
35+
with:
36+
go-version: 1.16
3337
- name: Run GoReleaser
3438
uses: goreleaser/goreleaser-action@v2
3539
with:

.github/workflows/manual-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ jobs:
66
runs-on: ubuntu-20.04
77
steps:
88
- uses: actions/checkout@v2
9+
- name: Set up Go
10+
uses: actions/setup-go@v2
11+
with:
12+
go-version: 1.16
913
- name: Run GoReleaser
1014
uses: goreleaser/goreleaser-action@v2
1115
with:

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ builds:
55
- windows
66
goarch:
77
- amd64
8+
- arm64
89
env:
910
- CGO_ENABLED=0

README.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ You can find sources and pre-compiled binaries [here](https://github.com/JonasPr
1515

1616
```bash
1717
# Download the binary (this example downloads the binary for linux amd64)
18-
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.3.0/docker-machine-driver-hetzner_3.3.0_linux_amd64.tar.gz
19-
$ tar -xvf docker-machine-driver-hetzner_3.3.0_linux_amd64.tar.gz
18+
$ wget https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.5.0/docker-machine-driver-hetzner_3.5.0_linux_amd64.tar.gz
19+
$ tar -xvf docker-machine-driver-hetzner_3.5.0_linux_amd64.tar.gz
2020

2121
# Make it executable and copy the binary in a directory accessible with your $PATH
2222
$ chmod +x docker-machine-driver-hetzner
@@ -105,6 +105,9 @@ $ docker-machine create \
105105
- `--hetzner-use-private-network`: Use private network
106106
- `--hetzner-firewalls`: Firewall IDs or names which should be applied on the server
107107
- `--hetzner-server-label`: `key=value` pairs of additional metadata to assign to the server.
108+
- `--hetzner-key-label`: `key=value` pairs of additional metadata to assign to SSH key (only applies if newly creadted).
109+
- `--hetzner-placement-group`: Add to a placement group by name or ID; a spread-group will be created on demand if it does not exist
110+
- `--hetzner-auto-spread`: Add to a `docker-machine` provided `spread` group (mutually exclusive with `--hetzner-placement-group`)
108111

109112
#### Existing SSH keys
110113

@@ -125,21 +128,23 @@ was used during creation.
125128

126129
| CLI option | Environment variable | Default |
127130
| ----------------------------------- | --------------------------------- | -------------------------- |
128-
| **`--hetzner-api-token`** | `HETZNER_API_TOKEN` | - |
131+
| **`--hetzner-api-token`** | `HETZNER_API_TOKEN` | |
129132
| `--hetzner-image` | `HETZNER_IMAGE` | `ubuntu-18.04` |
130-
| `--hetzner-image-id` | `HETZNER_IMAGE_ID` | - |
133+
| `--hetzner-image-id` | `HETZNER_IMAGE_ID` | |
131134
| `--hetzner-server-type` | `HETZNER_TYPE` | `cx11` |
132-
| `--hetzner-server-location` | `HETZNER_LOCATION` | - *(let Hetzner choose)* |
133-
| `--hetzner-existing-key-path` | `HETZNER_EXISTING_KEY_PATH` | - *(generate new keypair)* |
135+
| `--hetzner-server-location` | `HETZNER_LOCATION` | *(let Hetzner choose)* |
136+
| `--hetzner-existing-key-path` | `HETZNER_EXISTING_KEY_PATH` | *(generate new keypair)* |
134137
| `--hetzner-existing-key-id` | `HETZNER_EXISTING_KEY_ID` | 0 *(upload new key)* |
135-
| `--hetzner-additional-key` | `HETZNER_ADDITIONAL_KEYS` | - |
136-
| `--hetzner-user-data` | `HETZNER_USER_DATA` | - |
137-
| `--hetzner-networks` | `HETZNER_NETWORKS` | - |
138-
| `--hetzner-firewalls` | `HETZNER_FIREWALLS` | - |
139-
| `--hetzner-volumes` | `HETZNER_VOLUMES` | - |
138+
| `--hetzner-additional-key` | `HETZNER_ADDITIONAL_KEYS` | |
139+
| `--hetzner-user-data` | `HETZNER_USER_DATA` | |
140+
| `--hetzner-networks` | `HETZNER_NETWORKS` | |
141+
| `--hetzner-firewalls` | `HETZNER_FIREWALLS` | |
142+
| `--hetzner-volumes` | `HETZNER_VOLUMES` | |
140143
| `--hetzner-use-private-network` | `HETZNER_USE_PRIVATE_NETWORK` | false |
141-
| `--hetzner-server-label` | `HETZNER_SERVER_LABELS` | `[]` |
142-
144+
| `--hetzner-server-label` | (inoperative) | `[]` |
145+
| `--hetzner-key-label` | (inoperative) | `[]` |
146+
| `--hetzner-placement-group` | `HETZNER_PLACEMENT_GROUP` | |
147+
| `--hetzner-auto-spread` | `HETZNER_AUTO_SPREAD` | false |
143148

144149
## Building from source
145150

0 commit comments

Comments
 (0)