PRs updates may cause unwanted PR creation in `docker-library/official-images`
Nessuno ha ancora preso questa issue.
- Lingua principale
- Dockerfile
- Stelle
- 8.6k
- Fork
- 2k
- Merge medio
- 10h 19m
- PR unite (30g)
- 16
Descrizione
Situation
When Dockerfile-template.* changes are made and Dockerfile updates in the release line directories are also made, then the repo automatically triggers a PR to build a new release. The workflow official-pr is responsible for this.
Unless the update is part of a new release, then Dockerfile updates should generally not be done manually. These updates should be left to the automated processes that are triggered when the repo's automatic-updates.yml polling workflow detects a new Node.js release.
Suggestion
Research the background and add instructions to the CONTRIBUTING document about when Dockerfile updates should be made directly, and when it should be left to automation.
For those cases where no direct Dockerfile update should be included in a PR, describe also how to test such PRs.
Guida per i contributori
Apri 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.
Direzione di ricerca
Leggi CONTRIBUTING.md insieme a .github/workflows/official-pr.yml e automatic-updates.yml per capire quando le modifiche a Dockerfile attivano pull request per le immagini ufficiali. Aggiorna CONTRIBUTING.md con le eccezioni per gli aggiornamenti diretti e le istruzioni per testare le pull request che non devono includere un aggiornamento di Dockerfile; il lavoro è completato quando entrambi i casi sono documentati chiaramente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, dockerfile, github-actions
- Ambito
- ci-cd, documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 72/100