mirror of
https://github.com/spring-cloud/spring-cloud-build.git
synced 2026-09-17 12:49:00 +00:00
38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
name: Spring Cloud CI Job (Commercial Release Branch)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
branches:
|
|
description: "Which branch should be built (can be a comma-separated list of branches)"
|
|
required: true
|
|
default: 'release/5.0.3'
|
|
type: string
|
|
push:
|
|
branches:
|
|
- release/5.0.3
|
|
|
|
permissions:
|
|
actions: write
|
|
contents: read
|
|
|
|
jobs:
|
|
deploy:
|
|
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
|
|
with:
|
|
branches: ${{ inputs.branches }}
|
|
runs_on: ubuntu22-2-8
|
|
# The branches this workflow builds carry -INTERNAL-SNAPSHOT versions until
|
|
# release-train-ready stamps the release versions. The antora-component-version
|
|
# plugin derives the component version by stripping only -SNAPSHOT, producing
|
|
# e.g. 5.0.3-INTERNAL, which @springio/antora-extensions cannot parse. Building
|
|
# the docs profile would fail, so it is disabled here.
|
|
build_docs: false
|
|
secrets:
|
|
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
|
|
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
|
|
COMMERCIAL_ARTIFACTORY_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}
|
|
COMMERCIAL_ARTIFACTORY_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}
|
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|