Skip to content

Commit 6654ab1

Browse files
committed
fix labels
1 parent 5f1bc12 commit 6654ab1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ jobs:
7979
type=ref,event=branch
8080
type=ref,event=pr
8181
type=sha
82+
labels: |
83+
org.opencontainers.image.title=teufa
84+
org.opencontainers.image.description=teufa container image
85+
org.opencontainers.image.source=https://github.com/brosner/teufa
86+
org.opencontainers.image.licenses=MIT
8287
- name: Setup docker buildx
8388
uses: docker/setup-buildx-action@v3
8489
- name: Build image

Dockerfile

-4
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ RUN --mount=type=cache,target=/root/.cache \
8181
## prod image
8282
FROM base as prod
8383

84-
LABEL org.opencontainers.image.source=https://github.com/brosner/teufa
85-
LABEL org.opencontainers.image.description="teufa container image"
86-
LABEL org.opencontainers.image.licenses=MIT
87-
8884
COPY --from=builder-base $VENV_PATH $VENV_PATH
8985
COPY --from=builder-base /opt/app /opt/app
9086

0 commit comments

Comments
 (0)