File tree Expand file tree Collapse file tree 3 files changed +49
-11
lines changed
Expand file tree Collapse file tree 3 files changed +49
-11
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' main'
7- tags :
8- - ' v[0-9]*'
97 pull_request :
108
119jobs :
4442 username : gridsuiteci
4543 password : ${{ secrets.DOCKERHUB_TOKEN }}
4644
47- - name : Build and publish Docker image - Tag
48- if : startsWith(github.ref, 'refs/tags/')
49- uses : elgohr/Publish-Docker-Github-Action@33a481be3e179353cb7793a92b57cf9a6c985860 # v4
50- with :
51- name : gridsuite/gridadmin-app
52- username : gridsuiteci
53- password : ${{ secrets.DOCKERHUB_TOKEN }}
54- tags : ${{ steps.vars.outputs.tag }}
55-
5645 - name : Broadcast update event
5746 if : github.ref == 'refs/heads/main'
5847 uses : gridsuite/broadcast-event@main
Original file line number Diff line number Diff line change 1+ name : Patch
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ releaseVersion :
7+ description : Release version (vX.X)
8+ required : true
9+ type : string
10+
11+ jobs :
12+ run-patch :
13+ uses : powsybl/github-ci/.github/workflows/patch-frontend-app-generic.yml@29746dc4775fab66ef9e0481b57f3c0615b36ee4
14+ with :
15+ releaseVersion : ${{ github.event.inputs.releaseVersion }}
16+ dockerImage : docker.io/gridsuite/gridadmin-app
17+ dockerUsername : gridsuiteci
18+ githubappId : ${{ vars.GRIDSUITE_ACTIONS_APPID }}
19+ secrets :
20+ githubappPrivateKey : ${{ secrets.GRIDSUITE_ACTIONS_SECRET }}
21+ docker-token : ${{ secrets.DOCKERHUB_TOKEN }}
22+ sonar-token : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ releaseVersion :
7+ description : Release version (vX.X)
8+ required : true
9+ type : string
10+ gitReference :
11+ description : SHA of the commit from where to release or branch name
12+ required : true
13+ type : string
14+
15+ jobs :
16+ run-release :
17+ uses : powsybl/github-ci/.github/workflows/release-frontend-app-generic.yml@29746dc4775fab66ef9e0481b57f3c0615b36ee4
18+ with :
19+ releaseVersion : ${{ github.event.inputs.releaseVersion }}
20+ commitSha : ${{ github.event.inputs.gitReference }}
21+ dockerImage : docker.io/gridsuite/gridadmin-app
22+ dockerUsername : gridsuiteci
23+ githubappId : ${{ vars.GRIDSUITE_ACTIONS_APPID }}
24+ secrets :
25+ githubappPrivateKey : ${{ secrets.GRIDSUITE_ACTIONS_SECRET }}
26+ docker-token : ${{ secrets.DOCKERHUB_TOKEN }}
27+ sonar-token : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments