From b90ba7977e57214565678cd1e528bacf64f1a26d Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 15 May 2022 15:14:46 +0200 Subject: ci: Build Docker images for build pipeline This change updates the CI build pipeline to also build the Docker images in order to catch any regressions in the deployment process via Docker. --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.3