build(docker): simplification of assembly to facilitate further support (#24504)

This commit is contained in:
Aleksey Karpov
2023-06-24 21:41:57 +03:00
committed by GitHub
parent cd8418496f
commit ba3bdc077c
4 changed files with 52 additions and 60 deletions

View File

@@ -50,7 +50,7 @@ jobs:
mkdir -p ./build
echo ${{ github.sha }} > ./build/SHA
echo ${{ github.event.pull_request.number }} > ./build/PR-NUM
docker build --target ci -t ${{ github.sha }} -t "pr-${{ github.event.pull_request.number }}" .
DOCKER_BUILDKIT=1 docker build --target ci -t ${{ github.sha }} -t "pr-${{ github.event.pull_request.number }}" .
docker save ${{ github.sha }} | gzip > ./build/${{ github.sha }}.tar.gz
- name: Upload build artifacts