diff --git a/.github/workflows/iso_builder_test.yaml b/.github/workflows/iso_builder_test.yaml index f5e24c3e3..9404bd1f7 100644 --- a/.github/workflows/iso_builder_test.yaml +++ b/.github/workflows/iso_builder_test.yaml @@ -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 diff --git a/.gitignore b/.gitignore index 5aa38728a..f4080f98c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ recipes/common/bin/* training/cloud/examples training/instructlab/instructlab training/iso-builder/ISOs/* +!training/iso-builder/ISOs/.gitkeep diff --git a/training/iso-builder/ISOs/.gitkeep b/training/iso-builder/ISOs/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/training/iso-builder/Makefile b/training/iso-builder/Makefile index a644e609b..ba533cbd6 100644 --- a/training/iso-builder/Makefile +++ b/training/iso-builder/Makefile @@ -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}" \