Skip to content

Commit e4f7373

Browse files
committed
ci: write and upload image-% file
This regressed when we switched to the docker/build-push-action action for building container images. This file needs to be part of the uploaded artifact otherwise builds will fail.
1 parent 50eddeb commit e4f7373

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
echo "GIT_REF_NAME=${git_ref_name}" >> "${GITHUB_ENV}"
8282
8383
- name: Build Image
84+
id: build-image
8485
uses: docker/build-push-action@v4
8586
with:
8687
context: .
@@ -101,6 +102,7 @@ jobs:
101102
102103
- name: Compress Image
103104
run: |
105+
echo ${{ steps.build-image.outputs.imageid }} > build/image-${{ matrix.image }}
104106
zstd -v -T0 -6 --rm build/image-*.tar
105107
106108
- name: Upload Docker Image

0 commit comments

Comments
 (0)