diff --git a/.github/workflows/instructlab.yaml b/.github/workflows/instructlab.yaml index 7305afc0..23d7c5f6 100644 --- a/.github/workflows/instructlab.yaml +++ b/.github/workflows/instructlab.yaml @@ -8,14 +8,14 @@ on: # branches: # - main # paths: - # - .github/workflows/instructlab_baseimages_build_push.yaml - # - training/nvidia + # - .github/workflows/instructlab.yaml + # - training/instructlab/Makefile # push: # branches: # - main # paths: - # - .github/workflows/instructlab_baseimages_build_push.yaml - # - training/nvidia + # - .github/workflows/instructlab.yaml + # - training/instructlab/Makefile workflow_dispatch: diff --git a/training/instructlab/Makefile b/training/instructlab/Makefile index 358af11b..b655f682 100644 --- a/training/instructlab/Makefile +++ b/training/instructlab/Makefile @@ -16,14 +16,14 @@ instructlab: .PHONY: nvidia nvidia: instructlab rm -rf ../build/instructlab-$@ - podman build --layers=false --squash-all -t oci:../build/instructlab-$@ instructlab/containers/cuda + podman build --squash-all -t ${REGISTRY}/${REGISTRY_ORG}/$@:${IMAGE_TAG} instructlab/containers/cuda .PHONY: amd amd: instructlab rm -rf ../build/instructlab-$@ - podman build --layers=false --squash-all -t oci:../build/instructlab-$@ -f instructlab/containers/rocm/Containerfile instructlab + podman build --squash-all -t ${REGISTRY}/${REGISTRY_ORG}/$@:${IMAGE_TAG} -f instructlab/containers/rocm/Containerfile instructlab .PHONY: intel intel: instructlab rm -rf ../build/instructlab-$@ - podman build --layers=false --squash-all -t oci:../build/instructlab-$@ -f instructlab/containers/hpu/Containerfile instructlab + podman build --squash-all -t ${REGISTRY}/${REGISTRY_ORG}/$@:${IMAGE_TAG} -f instructlab/containers/hpu/Containerfile instructlab