File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 4
4
schedule : # schedule the job to run at 12 AM daily
5
5
- cron : ' 0 0 * * *'
6
6
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
13
13
# push:
14
14
# branches:
15
15
# - main
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ instructlab:
16
16
.PHONY : nvidia
17
17
nvidia : instructlab
18
18
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
20
20
21
21
.PHONY : amd
22
22
amd : instructlab
23
23
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
25
25
26
26
.PHONY : intel
27
27
intel : instructlab
28
28
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
You can’t perform that action at this time.
0 commit comments