Skip to content

Commit

Permalink
fix(workflows): Move image labels to workflow file
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Naufal <me@falkia34.dev>
  • Loading branch information
falkia34 committed Jan 25, 2024
1 parent a5cfd78 commit c45d8d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
with:
images: ghcr.io/${{ github.repository }}
tags: type=semver,pattern={{version}}
labels: |
org.opencontainers.image.title=Soca
org.opencontainers.image.description=Soca app image, see https://github.com/infiniteuny/soca for more info.
org.opencontainers.image.vendor=INFINITE UNY
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ RUN --mount=type=cache,target=/root/.cache/pip \

FROM python:3.11-slim-bookworm as runtime

LABEL org.opencontainers.image.url https://www.infiniteuny.id
LABEL org.opencontainers.image.description Soca app image, see https://github.com/infiniteuny/soca for more info.
LABEL org.opencontainers.image.source https://github.com/infiniteuny/soca

WORKDIR /app

RUN apt-get update && \
Expand Down

0 comments on commit c45d8d9

Please sign in to comment.