Skip to content

Commit

Permalink
adding ISOs dir and updating workflow
Browse files Browse the repository at this point in the history
Signed-off-by: greg pereira <[email protected]>
  • Loading branch information
Gregory-Pereira committed May 6, 2024
1 parent 5ab7d7a commit 876485b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/iso_builder_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Run the Image
working-directory: ./training/iso-builder/
run: |
make iso IMAGE=${{ steps.build_image.outputs.produced_image }} EMBED_IMAGE=${{ steps.build_image.outputs.embedded_image }} ORIGINAL_ISO=ISOs/${{ matrix.iso_name }} SSHKEY=${{ steps.ssh-keygen.outputs.sshpubkey }} CONTAINER_TOOL_EXTRA_ARGS=--pull=never
make iso IMAGE=${{ steps.build_image.outputs.produced_image }} EMBED_IMAGE=${{ steps.build_image.outputs.embedded_image }} ORIGINAL_ISO="ISOs/${{ matrix.iso_name }}" SSHKEY="${{ steps.ssh-keygen.outputs.sshpubkey }}" CONTAINER_TOOL_EXTRA_ARGS=--pull=never
# - name: Publish Job Results to Slack
# id: slack
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ recipes/common/bin/*
training/cloud/examples
training/instructlab/instructlab
training/iso-builder/ISOs/*
!training/iso-builder/ISOs/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion training/iso-builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ iso:

"${CONTAINER_TOOL}" run \
--rm \
--volume $(shell readlink -f ISOs/${ORIGINAL_ISO}):/root/original.iso:ro \
--volume $(shell readlink -f ${ORIGINAL_ISO}):/root/original.iso:ro \
--volume ${OUTPUT_DIR}:/output \
--volume $(shell ${CONTAINER_TOOL} system info --format json | jq -r '.store.graphRoot'):/var/lib/containers/storage \
"${REGISTRY}/${REGISTRY_ORG}/${IMAGE_NAME}:${IMAGE_TAG}" \
Expand Down

0 comments on commit 876485b

Please sign in to comment.