feat(oci): Add OCI image generation

Not fully tested but it should produce an image in ghcr.io
This commit is contained in:
2025-08-03 22:27:24 +02:00
parent 50a9d0ddde
commit 0f3812b666
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
ARG GOVERSION=1.24
FROM docker.io/golang:${GOVERSION} AS builder
ARG VERSION=master
RUN set -xe; \
CGO_ENABLED=0 go install -v github.com/katenary/katenary/cmd/katenary@$VERSION;
FROM scratch
LABEL org.opencontainers.image.source=https://github.com/katenary/katenary
LABEL org.opencontainers.image.description="Katenary converts compose files to Helm Chart"
LABEL org.opencontainers.image.licenses=MIT
COPY --from=builder /go/bin/katenary /usr/local/bin/katenary
VOLUME /project
WORKDIR /project
ENTRYPOINT ["/usr/local/bin/katenary"]