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:
Julian Tölle 2025-05-04 02:23:20 +02:00 committed by GitHub
parent 02e80b277f
commit 91df729f1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 38 additions and 4 deletions

View file

@ -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