Skip to content

Commit a9d31e0

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

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/instructlab.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
schedule: # schedule the job to run at 12 AM daily
55
- cron: '0 0 * * *'
66

7-
# pull_request:
8-
# branches:
9-
# - main
10-
# paths:
11-
# - .github/workflows/instructlab_baseimages_build_push.yaml
12-
# - training/nvidia
7+
pull_request:
8+
branches:
9+
- main
10+
paths:
11+
- .github/workflows/instructlab.yaml
12+
- training/instructlab/Makefile
1313
# push:
1414
# branches:
1515
# - main

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)