Skip to content

Commit

Permalink
action.yml: first construct builder
Browse files Browse the repository at this point in the history
Signed-off-by: C. Mangla <[email protected]>
  • Loading branch information
cmangla authored Sep 5, 2024
1 parent 57e97bb commit 82576df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ runs:
- run: sudo chown -R 1000:1000 ${{ steps.inputs.outputs.artifacts_dir }} ${{ steps.inputs.outputs.feed_dir }}
shell: bash
- run: |
echo "::group:: construct builder"
docker buildx create --name wrt-sdk-container-builder --driver=docker-container wrt-sdk-container-builder
echo "::endgroup::"
echo "::group:: docker build -t sdk $GITHUB_ACTION_PATH"
docker build \
--build-arg CONTAINER --build-arg ARCH \
--driver docker-container \
--builder=wrt-sdk-container-builder \
--cache-to type=gha,mode=max --cache-from type=gha \
-t sdk $GITHUB_ACTION_PATH
echo "::endgroup::"
Expand Down

0 comments on commit 82576df

Please sign in to comment.