1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

fix permissions

This commit is contained in:
Jason N. 2024-02-26 12:00:59 -05:00
parent 946bc74576
commit c7c714cdc5
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,4 @@
![Build status](https://github.com/jasonn3/build-container-installer/actions/workflows/build-and-test.yml/badge.svg?branch=main) ![Build status](https://github.com/jasonn3/build-container-installer/actions/workflows/build-and-test.yml/badge.svg??event=push)
# Bulid Container Installer Action # Bulid Container Installer Action
This action is used to generate an ISO for installing OSTrees stored in a container. This utilizes the anaconda command `ostreecontainer` This action is used to generate an ISO for installing OSTrees stored in a container. This utilizes the anaconda command `ostreecontainer`

View file

@ -7,12 +7,18 @@ do
export $entry export $entry
done done
# Pull container
make container/${IMAGE_NAME}-${IMAGE_TAG} $@ make container/${IMAGE_NAME}-${IMAGE_TAG} $@
# Build base ISO
make boot.iso $@ make boot.iso $@
# Add container to ISO
make build/deploy.iso $@ make build/deploy.iso $@
# Make output dir in github workspace
mkdir /github/workspace/build || true mkdir /github/workspace/build || true
cp build/*.iso /github/workspace/build # Copy resulting iso to github workspace and fix permissions
cp build/deploy.iso /github/workspace/build
chmod -R ugo=rwX /github/workspace/build