mirror of
https://github.com/rocky-linux/sig-cloud-instance-images.git
synced 2024-06-01 06:00:15 +00:00
Output meta information as well as the filelist to the artifacts
This commit is contained in:
parent
bde918a851
commit
f8069d92c1
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -31,5 +31,5 @@ jobs:
|
|||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ env.ARTIFACT_NAME }}
|
||||
path: out/${{ env.ARTIFACT_NAME }}
|
||||
path: out/
|
||||
if-no-files-found: error
|
||||
|
|
4
Makefile
4
Makefile
|
@ -30,7 +30,7 @@ TYPE=container
|
|||
CONTAINER_NAME = rocky-$(MAJOR)-$(TYPE)-$(RELEASE_VER).$(BUILDDATE).$(ARCH)
|
||||
|
||||
clean:
|
||||
-rm *.meta
|
||||
-rm *.meta
|
||||
|
||||
publish:
|
||||
@echo $(OUTNAME).tar.xz
|
||||
|
@ -55,4 +55,6 @@ $(TARGETIMAGE_META): $(BASEIMAGE_META)
|
|||
$(OUTNAME).tar.xz: $(TARGETIMAGE_META)
|
||||
mkdir out
|
||||
tar -Oxf $(STORAGEDIR)/$(TARGETIMAGEUUID).body */layer.tar | xz > out/$(OUTNAME).tar.xz
|
||||
tar -tf out/$(OUTNAME).tar.xz > out/filelist.txt
|
||||
cp $(STORAGEDIR)/$(TARGETIMAGEUUID).meta out/
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user