From 5420be92898eb4618ea3bd70e520d9da1ab9673f Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Wed, 8 Nov 2023 17:12:03 +0900 Subject: [PATCH] chore(cicd): temporal caching built image before smoke test --- .github/workflows/check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a5f85f625..c085ad0d7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -56,6 +56,8 @@ jobs: platforms: linux/amd64 push: false tags: benchmark:latest + outputs: type=oci,dest=./image.tar - name: Smoke test run: | + docker load --input ./image.tar docker run --rm benchmark:latest /bin/bash -c "cd ${{ steps.read-metadata.outputs.location }}; ${{ steps.read-metadata.outputs.buildCommand }}"