]> xenbits.xensource.com Git - xen.git/commitdiff
CI: (More) Always pull base image when building a container
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Oct 2023 13:56:26 +0000 (14:56 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 20 Oct 2023 10:55:46 +0000 (11:55 +0100)
Repeat c/s 26ecc08b98fc ("automation: Always pull base image when building a
container") for the other makefile we've got building containers.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
automation/tests-artifacts/Makefile

index 8ca71b78adbdf6751ca76a5401728f31e98a0f86..d055cd696bed231e3322701c2efae0eb1578b2a7 100644 (file)
@@ -10,7 +10,7 @@ help:
        @echo "To push container builds, set the env var PUSH"
 
 %: %.dockerfile ## Builds containers
-       docker build -t $(REGISTRY)/$(@D):$(@F) -f $< $(<D)
+       docker build --pull -t $(REGISTRY)/$(@D):$(@F) -f $< $(<D)
        @if [ ! -z $${PUSH+x} ]; then \
                docker push $(REGISTRY)/$(@D):$(@F); \
        fi