diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index ed6edbb7..1d9ecd82 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -64,37 +64,37 @@ jobs: -p ORACLE_DB_PASSWORD='${{ secrets.DB_PASSWORD }}' triggers: ('common/' 'backend/' 'frontend/') - # builds: - # name: Builds - # needs: [init] - # if: "!github.event.pull_request.head.repo.fork" - # runs-on: ubuntu-22.04 - # permissions: - # packages: write - # strategy: - # matrix: - # name: [database, backend, frontend] - # include: - # - package: database - # triggers: ('database/') - # - name: backend - # triggers: ('backend/') - # - name: frontend - # triggers: ('frontend/') - # steps: - # - uses: actions/checkout@v4 - # - uses: bcgov-nr/action-builder-ghcr@v2.0.2 - # with: - # package: ${{ matrix.name }} - # tag: ${{ github.event.number }} - # tag_fallback: test - # token: ${{ secrets.GITHUB_TOKEN }} - # triggers: ${{ matrix.triggers }} + builds: + name: Builds + needs: [init] + if: "!github.event.pull_request.head.repo.fork" + runs-on: ubuntu-22.04 + permissions: + packages: write + strategy: + matrix: + name: [database, backend, frontend] + include: + - package: database + triggers: ('database/') + - name: backend + triggers: ('backend/') + - name: frontend + triggers: ('frontend/') + steps: + - uses: actions/checkout@v4 + - uses: bcgov-nr/action-builder-ghcr@v2.0.2 + with: + package: ${{ matrix.name }} + tag: ${{ github.event.number }} + tag_fallback: test + token: ${{ secrets.GITHUB_TOKEN }} + triggers: ${{ matrix.triggers }} deploys: name: Deploys if: "!github.event.pull_request.head.repo.fork" - # needs: [builds] + needs: [builds] runs-on: ubuntu-22.04 strategy: matrix: