Skip to content

Commit

Permalink
add integration test container build to weekly tests
Browse files Browse the repository at this point in the history
Signed-off-by: Shyam Jesalpura s.jesalpura@gmail.com
  • Loading branch information
shyamjesal committed Jan 21, 2021
1 parent b5aa971 commit 2932045
Showing 1 changed file with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check if the docker images of the functions build successfully
name: Check if the docker images build successfully

on:
workflow_dispatch:
Expand All @@ -7,7 +7,7 @@ on:


jobs:
build_images:
function_images:
name: Build function docker images
runs-on: ubuntu-18.04
strategy:
Expand All @@ -26,4 +26,14 @@ jobs:
# https://git.luolix.topmunity/t/attempting-to-build-docker-image-with-copy-from-on-actions/16715
# https://stackoverflow.com/questions/51115856/docker-failed-to-export-image-failed-to-create-image-failed-to-get-layer
run: |
DOCKER_BUILDKIT=1 docker build ./function-images/${{ matrix.image }}
DOCKER_BUILDKIT=1 docker build ./function-images/${{ matrix.image }}
integ_test_image:
name: Build integration test docker images
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
ref: master
- name: docker build images
run: |
DOCKER_BUILDKIT=1 docker build --file ./scripts/Dockerfile.integration_test .

0 comments on commit 2932045

Please sign in to comment.