File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ - main
7+ - 4.3.x
8+
9+ # Scheduled builds run daily at midnight UTC
10+ schedule :
11+ - cron : ' 0 0 * * *'
12+
13+ # Manual trigger with optional branch override
14+ workflow_dispatch :
15+ inputs :
16+ branches :
17+ description : " Which branch should be built (can be a comma-separated list of branches)"
18+ required : true
19+ default : ' main'
20+ type : string
21+
22+ jobs :
23+ deploy :
24+ uses : spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
25+ with :
26+ branches : ${{ inputs.branches }}
27+ secrets :
28+ ARTIFACTORY_USERNAME : ${{ secrets.ARTIFACTORY_USERNAME }}
29+ ARTIFACTORY_PASSWORD : ${{ secrets.ARTIFACTORY_PASSWORD }}
30+ COMMERCIAL_ARTIFACTORY_USERNAME : ${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}
31+ COMMERCIAL_ARTIFACTORY_PASSWORD : ${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}
32+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
33+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments