Skip to content

Commit

Permalink
Pare down, fix build context
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 8, 2025
1 parent daf7231 commit 15649cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,20 @@ on:
### Typical / recommended
environment:
description: GitHub/OpenShift environment; usually PR number, test or prod
default: ''
required: false
type: string
tag:
description: Container tag; usually PR number
default: ${{ github.event.number }}
required: false
type: string
target:
description: Deployment target; usually PR number, test or prod
default: ${{ github.event.number }}
required: false
type: string
triggers:
description: Paths to check for changes
default: ''
required: false
type: string
url:
description: URL for deployment, does not include path
default: ''
required: false
type: string

permissions: {}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,22 @@ jobs:
package: [admin, api, db, public]
include:
- package: admin
build_context: ./
triggers: ('admin/' 'libs/')
- package: api
build_context: ./
triggers: ('api/' 'libs/')
- package: db
triggers: ('db')
- package: public
build_context: ./
triggers: ('public/' 'libs/')
steps:
- uses: actions/checkout@v4
- uses: bcgov-nr/[email protected]
with:
package: ${{ matrix.package }}
build_context: ./
build_context: ${{ matrix.build_context }}
build_file: ${{ matrix.name }}/Dockerfile
keep_versions: 100
tag: ${{ github.event.number }}
Expand Down

0 comments on commit 15649cd

Please sign in to comment.