Skip to content

Commit

Permalink
Uncomment pr-open workflow job to build backend. Update backend docke…
Browse files Browse the repository at this point in the history
…r ignore file.
  • Loading branch information
fergmac committed Aug 7, 2024
1 parent 63120c2 commit 84feb1a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ concurrency:
cancel-in-progress: true

jobs:
# # https://github.com/bcgov-nr/action-builder-ghcr
# builds:
# name: Builds
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# package: [backend, frontend, migrations]
# timeout-minutes: 10
# steps:
# - uses: bcgov-nr/action-builder-ghcr@v2.0.2
# with:
# keep_versions: 50
# package: ${{ matrix.package }}
# tag: ${{ github.event.number }}
# tag_fallback: latest
# triggers: ('${{ matrix.package }}/')
# https://github.com/bcgov-nr/action-builder-ghcr
builds:
name: Builds
runs-on: ubuntu-22.04
strategy:
matrix:
package: [backend]
timeout-minutes: 10
steps:
- uses: bcgov-nr/action-builder-ghcr@v2.0.2
with:
keep_versions: 50
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
tag_fallback: latest
triggers: ('${{ matrix.package }}/')

# # https://github.com/bcgov/quickstart-openshift-helpers
# deploys:
Expand Down
24 changes: 24 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Standard exclusions
*.md
.git
.github
.idea
.vscode
Dockerfile
CODE_OF_CONDUCT*
CONTRIBUTING*
LICENSE*
SECURITY*

# Node exclusions
dist
node_modules
npm-debug.log

# App-specific exclusions
# coverage
# e2e
# migrations
# output
# test
# tests

0 comments on commit 84feb1a

Please sign in to comment.