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