[Feature]: Add org.opencontainers.image.source label to mcr.microsoft.com/playwright images
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
🚀 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
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/playwright
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/playwright#43759 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
microsoft/playwright#43741 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Uncaught TypeError in captureSecurityDetails when APIRequestContext reuses a destroyed keep-alive socketForse già presa @microsoft-playwright-automation l’ha presa 1 giorno fa. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
microsoft/playwright#43728 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Set `this.name` in `TargetClosedError` constructorForse di nuovo libera @LeonxLJX l’ha presa 56 giorni fa e non c’è nessuna pull request aperta. ApertaP3-collecting-feedback
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
microsoft/playwright#42522 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Support sharing self-contained HTML reports with embedded screenshots and attachmentsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
microsoft/playwright#43771 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/playwright
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
awslabs/visual-asset-management-system#937 ·
I maintainer di solito rispondono entro 1 giorno
-
t0ggles
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
nolimits4web/swiper#8255 · 1 commento ·
I maintainer di solito rispondono entro 15 giorni
-
render: --variables-file (and --variables <path>) fails with "io.readFile is not a function" since 0.8.212Forse già presa @miguel-heygen l’ha presa oggi. Apertabug triage/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
heygen-com/hyperframes#6830 ·
I maintainer di solito rispondono entro 1 giorno
-
bug launch local use
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
account: profile bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 5 giorni