File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ build-kernel: initrd-builder
126126 arch=$(ARCH ) ; \
127127 rootfs_dir=$$(find . -type d -path "./$$arch/$$distro/$$version" ) ; \
128128 kernel_dir=$$(find . -type d -path "./$$arch/$$distro/$$version" ) ; \
129- rootfs_image=$(REPOSITORY ) /$$ distro-image:$$ version-$$ arch; \
130- kernel_image=$(REPOSITORY ) /$$ distro-kernel:$$ version-$$ arch; \
129+ rootfs_image=$(REPOSITORY ) /$$ distro-image:$$ version-$$ arch- $( TAG ) ; \
130+ kernel_image=$(REPOSITORY ) /$$ distro-kernel:$$ version-$$ arch- $( TAG ) ; \
131131 if [ -n " $$ rootfs_dir" ]; then \
132132 if [ " $( DRY_RUN) " = " true" ]; then \
133133 echo " Dry run: Building rootfs image: docker build -t $$ rootfs_image --build-arg CMAKE_VERSION=\" $( CMAKE_VERSION) \" $$ rootfs_dir" ; \
@@ -148,7 +148,10 @@ build-kernel: initrd-builder
148148 echo " Dry run: Building kernel image: docker build -t $$ kernel_image -f $$ kernel_dir/Dockerfile.kernel $$ kernel_dir" ; \
149149 else \
150150 echo " Building kernel image: $$ kernel_image" ; \
151- docker build -t $$ kernel_image -f $$ kernel_dir/Dockerfile.kernel $$ kernel_dir; \
151+ docker build \
152+ -t $$ kernel_image \
153+ -f $$ kernel_dir/Dockerfile.kernel \
154+ $$ kernel_dir; \
152155 if [ " $( PUSH) " = " true" ]; then \
153156 echo " Pushing image: $$ kernel_image" ; \
154157 docker push $$ kernel_image; \
You can’t perform that action at this time.
0 commit comments