Merge pull request 'Override image labels' (#18) from feature/update-image-labels into main
Some checks failed
Publish / build (push) Failing after 1m35s

Reviewed-on: #18
This commit is contained in:
2025-06-26 19:06:58 +00:00

View File

@@ -37,7 +37,13 @@ jobs:
- name: Build
run: |
export KO_DOCKER_REPO="${GITEA_REGISTRY}/${GITEA_ORG}/unifi-network-operator-controller"
ko publish ./cmd --tags "$TAG,latest" --bare
ko publish ./cmd \
--tags "$TAG,latest" \
--image-labels='org.opencontainers.image.authors=Klauvsteinen <vegard@engen.priv.no>' \
--image-labels='org.opencontainers.image.vendor=Klauvsteinen' \
--image-labels='org.opencontainers.image.source=https://gitea.engen.priv.no/klauvsteinen/unifi-network-operator' \
--image-labels='dev.chainguard.package.main=' \
--bare
- name: Build manifest
run: |
make build-installer