From 6654ab12489201ef95f8ce170118bdf0593d8e92 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Wed, 22 May 2024 23:12:23 -0600 Subject: [PATCH] fix labels --- .github/workflows/ci.yml | 5 +++++ Dockerfile | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01cb1cd..ec996ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,11 @@ jobs: type=ref,event=branch type=ref,event=pr type=sha + labels: | + org.opencontainers.image.title=teufa + org.opencontainers.image.description=teufa container image + org.opencontainers.image.source=https://github.com/brosner/teufa + org.opencontainers.image.licenses=MIT - name: Setup docker buildx uses: docker/setup-buildx-action@v3 - name: Build image diff --git a/Dockerfile b/Dockerfile index 816044e..8e86fac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,10 +81,6 @@ RUN --mount=type=cache,target=/root/.cache \ ## prod image FROM base as prod -LABEL org.opencontainers.image.source=https://github.com/brosner/teufa -LABEL org.opencontainers.image.description="teufa container image" -LABEL org.opencontainers.image.licenses=MIT - COPY --from=builder-base $VENV_PATH $VENV_PATH COPY --from=builder-base /opt/app /opt/app