From 2b56a334728772b47b66d69d573642d4a82e2671 Mon Sep 17 00:00:00 2001 From: Andrew Brower Date: Sun, 12 Jan 2025 04:44:58 -0500 Subject: [PATCH] chore(container): properly label for ghcr --- .github/workflows/container.yml | 2 -- Containerfile | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index e5a9809..3897f0f 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -45,8 +45,6 @@ jobs: with: images: | ${{ env.IMAGE_NAME }} - labels: | - io.artifacthub.package.readme-url=https://raw.githubusercontent.com/xoogware/crawlspace/main/README.md - name: Build image id: build diff --git a/Containerfile b/Containerfile index b3cadfe..26c087c 100644 --- a/Containerfile +++ b/Containerfile @@ -6,6 +6,11 @@ COPY . . RUN cargo build --profile release-lto --features compression FROM registry.access.redhat.com/ubi9/ubi-micro + +LABEL org.opencontainers.image.source=https://github.com/xoogware/crawlspace +LABEL org.opencontainers.image.description="a tiny limbo server" +LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later + WORKDIR /app COPY --from=build /app/target/release-lto/crawlspace . -- 2.51.2