Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature]: Add org.opencontainers.image.source label to mcr.microsoft.com/playwright images

Aperta Adatta ai principianti
#43,762 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
64/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
azure, docker
Ambito
devops

Direzione di ricerca

Inizia da utils/docker/Dockerfile.noble e Dockerfile.jammy, poi segui la pipeline di pubblicazione delle immagini di Azure DevOps per vedere dove vengono impostate le etichette. Aggiungi org.opencontainers.image.source con l’URL del repository alle immagini pubblicate; valuta se anche l’etichetta della versione di Playwright debba essere inclusa. Il lavoro è completato quando le immagini pubblicate espongono l’etichetta della sorgente e i controlli di build o pubblicazione hanno esito positivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-triage
🚀 Feature Request

Add the org.opencontainers.image.source label, set to https://github.com/microsoft/playwright, to the published mcr.microsoft.com/playwright images.

Currently the images carry no source label. I checked the config of v1.64.1-noble: its only label is org.opencontainers.image.version: 24.04, which looks inherited from the Ubuntu base. utils/docker/Dockerfile.noble and Dockerfile.jammy have no LABEL instructions either.

The label could be added as a LABEL in utils/docker/Dockerfile.* or as a --label flag in the publishing pipeline. I'm not sure which fits better now that publishing runs through Azure DevOps. Setting org.opencontainers.image.version to the Playwright version would also help, since the current value is the Ubuntu version.

Example

Dockerfile (or build flag):

LABEL org.opencontainers.image.source="https://github.com/microsoft/playwright"

Dependency tools read this label to resolve an image's source repository. For example, with it present, Renovate's group:playwrightMonorepo preset (which matches https://github.com/microsoft/playwright) would group the playwright npm package and the mcr.microsoft.com/playwright image into a single update PR.

Motivation

The Playwright library and the browsers in the image must be the same version. Without the source label, dependency bots can't tell that the image and the npm package come from the same repo, so they update them in separate PRs. This breaks CI until both are merged. Users work around it with custom per-repo grouping rules.

The label also lets bots show release notes and changelog links in image update PRs, and it is a standard OCI annotation, so it would help any tool that reads image metadata.

I'm willing to work on this and send a PR if a maintainer approves it and says where the label should be set.

Lingua principale
TypeScript
Stelle
98.5k
Fork
6.7k
Merge medio
15h 42m
PR unite (30g)
313

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/playwright

Tutte le issue di microsoft/playwright

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.