mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 13:21:01 +00:00
feat: publish container image (#82)
Use `goreleaser` and `ko` to automatically build and publish container images in the release workflow. The images are published to `ghcr.io/apricote/hcloud-upload-image`. Co-authored-by: Ilja Malachowski <malahovskiy.in@gmail.com>
This commit is contained in:
parent
02e80b277f
commit
91df729f1c
3 changed files with 38 additions and 4 deletions
|
|
@ -62,6 +62,14 @@ If you already have a recent Go toolchain installed, you can build & install the
|
|||
go install github.com/apricote/hcloud-upload-image@latest
|
||||
```
|
||||
|
||||
#### Docker
|
||||
|
||||
There is a docker image published at `ghcr.io/apricote/hcloud-upload-image`.
|
||||
|
||||
```shell
|
||||
docker run --rm -e HCLOUD_TOKEN="<your token>" ghcr.io/apricote/hcloud-upload-image:latest <command>
|
||||
```
|
||||
|
||||
#### Usage
|
||||
|
||||
```shell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue