Always pull newest image version of COSA (#182)

This commit is contained in:
Malte Poll 2022-05-31 10:36:29 +02:00 committed by GitHub
parent c88dc8f59a
commit 4dcb3aa062
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ cosa() {
set -x
docker run --rm ${USE_TTY} --security-opt label=disable --privileged \
-v ${PWD}:/srv/ --device /dev/kvm --device /dev/fuse \
--tmpfs /tmp -v /var/tmp:/var/tmp --name constellation-cosa \
--tmpfs /tmp -v /var/tmp:/var/tmp --name constellation-cosa --pull always \
${NETRC+-v ${NETRC}:/home/builder/.netrc:ro} \
${COREOS_ASSEMBLER_CONFIG_GIT:+-v $COREOS_ASSEMBLER_CONFIG_GIT:/srv/src/config/:ro} \
${COREOS_ASSEMBLER_GIT:+-v $COREOS_ASSEMBLER_GIT/src/:/usr/lib/coreos-assembler/:ro} \

View File

@ -6,7 +6,7 @@ cosa() {
podman run --rm ${USE_TTY} --security-opt label=disable --privileged \
--uidmap=1000:0:1 --uidmap=0:1:1000 --uidmap 1001:1001:64536 \
-v ${PWD}:/srv/ --device /dev/kvm --device /dev/fuse \
--tmpfs /tmp -v /var/tmp:/var/tmp --name constellation-cosa \
--tmpfs /tmp -v /var/tmp:/var/tmp --name constellation-cosa --pull always \
${NETRC+-v ${NETRC}:/home/builder/.netrc:ro} \
${COREOS_ASSEMBLER_CONFIG_GIT:+-v $COREOS_ASSEMBLER_CONFIG_GIT:/srv/src/config/:ro} \
${COREOS_ASSEMBLER_GIT:+-v $COREOS_ASSEMBLER_GIT/src/:/usr/lib/coreos-assembler/:ro} \