[Feature Request] Support selecting a Git tag as the source for Application and Docker Compose deployments

Aperta
#6,001 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
34/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker-compose, git, github, gitlab, typescript

Direzione di ricerca

Start by tracing how the branch selection in the repository provider settings for Applications and Docker Compose services is stored and passed to the deployment step, since the tag selector would follow the same path. Check how each provider (GitHub, GitLab, Bitbucket, Gitea, custom Git) lists branches today, then confirm with maintainers the intended scope before coding. Done means a saved tag is checked out on deploy and existing services still default to branches.

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

Descrizione

enhancement
What problem will this feature address?

Repository provider settings currently allow selecting a branch as the deployment source, but do not provide a selector for deploying a specific Git tag.

For projects that use Git tags to identify releases, users need a way to select the exact release to deploy through the Dokploy UI, including deploying an older tagged version.

The existing "On Tag" trigger controls when a deployment starts. This request concerns selecting which Git reference supplies the code.

Describe the solution you'd like

Add a "Deploy from" selector to the repository provider settings for Applications and Docker Compose services:

  • Branch: preserve the existing branch selection and deployment workflow.
  • Tag: fetch the repository's available tags from the configured provider and display them in a separate selector.

When a tag is selected and saved, deployments should fetch and check out that specific tag. The selection should persist, and existing services should continue using branches by default.

The proposed scope includes GitHub, GitLab, Bitbucket, Gitea, and custom Git repositories.

Describe alternatives you've considered

Creating a branch for each release or using an external CI pipeline to build and deploy a Docker image. These approaches add steps compared with selecting an existing Git tag directly in Dokploy.

Additional context

I have a local implementation with automated tests and local deployment validation for both Applications and Docker Compose services.

Before submitting a PR targeting canary, I would like to confirm whether this workflow and scope align with the maintainers' expectations.

Related requests with different scopes:

  • #4690 requests using the Git tag name as the image tag when pushing to a registry.
  • #1942 requests deploying a prebuilt Docker image specified through an API or webhook.

This proposal concerns selecting a Git tag as the source code reference.

Will you send a PR to implement it?

Yes

Lingua principale
TypeScript
Stelle
38.8k
Fork
3.2k
Merge medio
1g 10h
PR unite (30g)
110

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 Dokploy/dokploy

Tutte le issue di Dokploy/dokploy

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.