summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-05-15 21:48:32 +0200
committerGitHub <noreply@github.com>2022-05-15 21:48:32 +0200
commite35d7c49856d8fb5965a315976ac6fdd6c9fb718 (patch)
tree1d34c185a02b29f3faa871607cc24eecbf5d2f15 /.github/workflows/build.yml
parent8a772cf16457fb703ad468c3f06b02ca045e5ec4 (diff)
parent3908391fd67da33df2d43c1b01a9e1709dd73c05 (diff)
merge: Build Docker images for build pipeline (#85)
This pull request updates the CI build pipeline to also build the Docker images in order to catch any regressions in the deployment process via Docker. ## Implementation Notes :hammer_and_pick: * Build Docker images for build pipeline * Reduce build steps for Docker image * Ensure Node.js is downloaded ## Breaking API Changes :warning: N/A
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3a4dc27e..9cde7fbe 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -56,3 +56,17 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml
+ build-docker:
+ name: Build Docker Images
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ - name: Build Runner
+ uses: docker/build-push-action@v3
+ with:
+ file: opendc-web/opendc-web-runner/Dockerfile
+ - name: Build API
+ uses: docker/build-push-action@v3
+ with:
+ file: opendc-web/opendc-web-api/Dockerfile