Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Release qui trigger automatiquement le tag de la prod #54

Closed
maxgfr opened this issue Nov 5, 2021 · 0 comments · May be fixed by #55
Closed

Release qui trigger automatiquement le tag de la prod #54

maxgfr opened this issue Nov 5, 2021 · 0 comments · May be fixed by #55

Comments

@maxgfr
Copy link
Member

maxgfr commented Nov 5, 2021

Problème

Actuellement, on trigger la prod sur le tag de la release (v). Or sur CDTN, nous voulons avoir à la fois une preprod et prod qui génère des images indépendantes et pas basé sur une release.

Solution

Sur autodevops-build-register, il faudrait remove le startsWith:

type=raw,value=${{ startsWith(github.ref, 'refs/tags/v') && 'prod' || inputs.environment }}
type=raw,value=${{ startsWith(github.ref, 'refs/tags/v') && 'prod' || inputs.environment }}-${{ github.sha }}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant