Label image Docker

This commit is contained in:
skylanix
2025-08-13 01:28:56 +02:00
parent 17b4b08f8c
commit c384268cc8
2 changed files with 8 additions and 6 deletions

View File

@@ -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 }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

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