ci(buildkit): dedicated step to build test image

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
CrazyMax 2024-02-16 16:51:52 +01:00 committed by Paweł Gronowski
parent f5722da5e0
commit 60358bfcab
No known key found for this signature in database
GPG key ID: B85EFCFE26DEF92A

View file

@ -50,6 +50,9 @@ jobs:
timeout-minutes: 120 timeout-minutes: 120
needs: needs:
- build - build
env:
TEST_IMAGE_BUILD: "0"
TEST_IMAGE_ID: "buildkit-tests"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -115,6 +118,14 @@ jobs:
sudo service docker restart sudo service docker restart
docker version docker version
docker info docker info
-
name: Build test image
uses: docker/bake-action@v4
with:
workdir: ./buildkit
targets: integration-tests
set: |
*.output=type=docker,name=${{ env.TEST_IMAGE_ID }}
- -
name: Test name: Test
run: | run: |