Restrict latest versions to stable highest releases only for all default repositories #1611
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CI | |
on: | |
push: | |
branches: | |
- 'master' # Default branch | |
- '[0-9]+.[0-9]+.x' # Release branches | |
paths-ignore: | |
- '**/*.md' | |
- 'docs/**' | |
pull_request: | |
branches: | |
- 'master' # Default branch | |
paths-ignore: | |
- '**/*.md' | |
- 'docs/**' | |
workflow_dispatch: | |
jobs: | |
call-build: | |
uses: ./.github/workflows/_meta-build.yaml | |
with: | |
app-version: "snapshot" | |
publish-container: ${{ github.ref == 'refs/heads/master' }} | |
secrets: | |
registry-0-usr: ${{ secrets.HUB_USERNAME }} | |
registry-0-psw: ${{ secrets.HUB_ACCESSS_TOKEN }} |