This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
chore(deps): update bcgov/quickstart-openshift-helpers action to v0.7.0 #759
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: PR | |
on: | |
pull_request: | |
concurrency: | |
# Cancel in progress for PR open and close | |
group: ${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
# https://github.com/bcgov-nr/action-builder-ghcr | |
builds: | |
name: Builds | |
runs-on: ubuntu-22.04 | |
permissions: | |
packages: write | |
strategy: | |
matrix: | |
package: [backend, database, frontend] | |
timeout-minutes: 10 | |
steps: | |
- uses: bcgov-nr/action-builder-ghcr@v2.2.0 | |
id: builds | |
with: | |
keep_versions: 50 | |
package: ${{ matrix.package }} | |
tag: ${{ github.event.number }} | |
tag_fallback: latest | |
triggers: ('${{ matrix.package }}/') | |
deploy: | |
name: Deploy | |
needs: [builds] | |
secrets: inherit | |
uses: ./.github/workflows/.deploy.yml | |
results: | |
name: PR Results | |
if: always() && (!failure()) && (!cancelled()) | |
needs: [builds, deploy] | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: echo "Success!" |