fix labels

This commit is contained in:
Brian Rosner 2024-05-22 23:12:23 -06:00
parent 5f1bc12277
commit 6654ab1248
2 changed files with 5 additions and 4 deletions

View File

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

View File

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