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:
parent
f5722da5e0
commit
60358bfcab
1 changed files with 11 additions and 0 deletions
11
.github/workflows/buildkit.yml
vendored
11
.github/workflows/buildkit.yml
vendored
|
@ -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: |
|
||||||
|
|
Loading…
Reference in a new issue