diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 55a1b78..7fdbae7 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -41,10 +41,17 @@ jobs: type=ref,event=pr type=semver,pattern={{version}} type=raw,value=latest,enable={{is_default_branch}} + labels: | + org.opencontainers.image.title=${{ github.repository }} + org.opencontainers.image.description=Bot multi-plateformes Discord/Twitch/YouTube pour la communauté STEvE + org.opencontainers.image.source=https://github.com/${{ github.repository }} + org.opencontainers.image.url=https://github.com/${{ github.repository }} + org.opencontainers.image.licenses=GPL-3.0 - name: Build and push uses: docker/build-push-action@v5 with: context: . push: true - tags: ${{ steps.meta.outputs.tags }} \ No newline at end of file + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b78ffad..743b41c 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,5 @@ FROM debian:trixie-slim -# Labels requis pour GitHub Container Registry -LABEL org.opencontainers.image.source=https://github.com/skylanix/MamieHenriette -LABEL org.opencontainers.image.description="Bot multi-plateformes Discord/Twitch/YouTube pour la communauté STEvE" -LABEL org.opencontainers.image.licenses=GPL-3.0 - WORKDIR /app ENV DEBIAN_FRONTEND=noninteractive