Merge pull request #1377 from DependencyTrack/dependabot/github_actio… #2272
This file contains hidden or 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 | |
| - 'feature-**' # Feature branches | |
| pull_request: | |
| branches: | |
| - 'master' # Default branch | |
| - 'feature-**' # Feature branches | |
| workflow_dispatch: | |
| jobs: | |
| call-build: | |
| uses: ./.github/workflows/_meta-build.yaml | |
| with: | |
| app-version: 'snapshot' | |
| publish-container: ${{ github.ref_name == 'master' || startsWith(github.ref_name, 'feature-') }} | |
| ref-name: ${{ github.ref_name }} | |
| secrets: | |
| registry-0-usr: ${{ secrets.HUB_USERNAME }} | |
| registry-0-psw: ${{ secrets.HUB_ACCESS_TOKEN }} |