Skip to content

Commit

Permalink
fix workflow due to --layers + --squash-all
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 23, 2024
1 parent 9939d3b commit 6ca1848
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/instructlab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
6 changes: 3 additions & 3 deletions training/instructlab/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6ca1848

Please sign in to comment.