Skip to content

Commit 6ca1848

Browse files
fix workflow due to --layers + --squash-all
Signed-off-by: greg pereira <[email protected]>
1 parent 9939d3b commit 6ca1848

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/instructlab.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
# branches:
99
# - main
1010
# paths:
11-
# - .github/workflows/instructlab_baseimages_build_push.yaml
12-
# - training/nvidia
11+
# - .github/workflows/instructlab.yaml
12+
# - training/instructlab/Makefile
1313
# push:
1414
# branches:
1515
# - main
1616
# paths:
17-
# - .github/workflows/instructlab_baseimages_build_push.yaml
18-
# - training/nvidia
17+
# - .github/workflows/instructlab.yaml
18+
# - training/instructlab/Makefile
1919

2020
workflow_dispatch:
2121

training/instructlab/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ instructlab:
1616
.PHONY: nvidia
1717
nvidia: instructlab
1818
rm -rf ../build/instructlab-$@
19-
podman build --layers=false --squash-all -t oci:../build/instructlab-$@ instructlab/containers/cuda
19+
podman build --squash-all -t ${REGISTRY}/${REGISTRY_ORG}/$@:${IMAGE_TAG} instructlab/containers/cuda
2020

2121
.PHONY: amd
2222
amd: instructlab
2323
rm -rf ../build/instructlab-$@
24-
podman build --layers=false --squash-all -t oci:../build/instructlab-$@ -f instructlab/containers/rocm/Containerfile instructlab
24+
podman build --squash-all -t ${REGISTRY}/${REGISTRY_ORG}/$@:${IMAGE_TAG} -f instructlab/containers/rocm/Containerfile instructlab
2525

2626
.PHONY: intel
2727
intel: instructlab
2828
rm -rf ../build/instructlab-$@
29-
podman build --layers=false --squash-all -t oci:../build/instructlab-$@ -f instructlab/containers/hpu/Containerfile instructlab
29+
podman build --squash-all -t ${REGISTRY}/${REGISTRY_ORG}/$@:${IMAGE_TAG} -f instructlab/containers/hpu/Containerfile instructlab

0 commit comments

Comments
 (0)