From e72854f6229658c37f9259fa74944ffa30d3dded Mon Sep 17 00:00:00 2001 From: schmttc <89831403+schmttc@users.noreply.github.com> Date: Wed, 17 Apr 2024 14:08:50 +1000 Subject: [PATCH] . --- .github/workflows/no-publish-build.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/no-publish-build.yml b/.github/workflows/no-publish-build.yml index 4cccdf9..2e4c9a1 100644 --- a/.github/workflows/no-publish-build.yml +++ b/.github/workflows/no-publish-build.yml @@ -23,7 +23,12 @@ jobs: context: . push: false tags: marlin-build:latest - + outputs: type=docker,dest=/tmp/myimage.tar # export docker image + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: myimage + path: /tmp/myimage.tar firmware_build: needs: docker_image_build @@ -38,8 +43,19 @@ jobs: REGISTRY: ghcr.io UPLOAD_DIR: ET4000PLUS-K9 steps: + - name: Download artifact + uses: actions/download-artifact@v2 + with: + name: myimage + path: /tmp + - name: Load image + run: | + docker load --input /tmp/myimage.tar + docker image ls -a + - name: Check out repo uses: actions/checkout@v2 + - name: Compile firmware run: | docker run \