File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version_increment :
7+ description : ' La version a incrémenter (major, minor, patch)'
8+ required : true
9+ default : ' patch'
10+ type : choice
11+ options :
12+ - ' major'
13+ - ' minor'
14+ - ' patch'
15+ build_docker_image :
16+ description : " Construire l'image docker ?"
17+ required : true
18+ default : true
19+ type : boolean
20+ latest :
21+ description : " Tagger l'image docker avec le tag 'latest' ?"
22+ required : true
23+ default : true
24+ type : boolean
25+
26+ jobs :
27+ build :
28+ runs-on : ubuntu-latest
29+ permissions :
30+ contents : write
31+ packages : write
32+
33+ steps :
34+ - name : Build docker
35+ uses : Libertech-FR/lt-actions/release@main
36+ with :
37+ version_increment : ${{ github.event.inputs.version_increment }}
38+ build_docker_image : ${{ github.event.inputs.build_docker_image }}
39+ latest : ${{ github.event.inputs.latest }}
40+ repository : ${{ github.repository }}
41+ username : ${{ github.actor }}
42+ password : ${{ secrets.GITHUB_TOKEN }}
43+ access_token : ${{ secrets.GITHUB_TOKEN }}
44+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments