File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Spring Cloud Build CI Job
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - 4.3.x
8+ - 4.2.x
9+
10+ # Scheduled builds run daily at midnight UTC
11+ schedule :
12+ - cron : ' 0 0 * * *'
13+
14+ # Manual trigger with optional branch override
15+ workflow_dispatch :
16+ inputs :
17+ branches :
18+ description : " Which branch should be built (can be a comma-separated list of branches)"
19+ required : true
20+ default : ' 4.3.x'
21+ type : string
22+
23+ jobs :
24+ deploy :
25+ uses : spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
26+ with :
27+ branches : ${{ inputs.branches }}
28+ secrets :
29+ ARTIFACTORY_USERNAME : ${{ secrets.ARTIFACTORY_USERNAME }}
30+ ARTIFACTORY_PASSWORD : ${{ secrets.ARTIFACTORY_PASSWORD }}
31+ COMMERCIAL_ARTIFACTORY_USERNAME : ${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}
32+ COMMERCIAL_ARTIFACTORY_PASSWORD : ${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}
33+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
34+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments