Skip to content

Commit

Permalink
ci; build all three containers and push to ecr
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanhurst committed May 20, 2024
1 parent c937e92 commit c2b90b4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ on:

jobs:
build-and-push:
strategy:
matrix:
build-details:
- {path: server, image-name: ausseabed-staging-sct-api}
- {path: client, image-name: ausseabed-staging-sct-www}
- {path: map, image-name: ausseabed-staging-sct-mapserver}
name: API Build and push develop to staging ECR
uses: ./.github/workflows/build-push-to-ecr.yml
with:
path: server
image-name: ausseabed-staging-sct-api
path: ${{ matrix.build-details.path }}
image-name: ${{ matrix.build-details.image-name }}
secrets:
aws-access-key-id: ${{ secrets.STAGING_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.STAGING_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit c2b90b4

Please sign in to comment.