docker: update registry to push
This commit is contained in:
parent
49ab38d66c
commit
c2875df304
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
IMAGE_NAME=robocar-oak-camera
|
IMAGE_NAME=robocar-oak-camera
|
||||||
TAG=$(git describe)
|
TAG=$(git describe)
|
||||||
FULL_IMAGE_NAME=docker.io/cyrilix/${IMAGE_NAME}:${TAG}
|
FULL_IMAGE_NAME=git.cyrilix.bzh/robocars/${IMAGE_NAME}:${TAG}
|
||||||
PLATFORM="linux/amd64,linux/arm64"
|
PLATFORM="linux/amd64,linux/arm64"
|
||||||
#PLATFORM="linux/amd64,linux/arm64,linux/arm/v7"
|
#PLATFORM="linux/amd64,linux/arm64,linux/arm/v7"
|
||||||
|
|
||||||
podman build . --platform "${PLATFORM}" --manifest "${IMAGE_NAME}:${TAG}"
|
podman build . --platform "${PLATFORM}" --manifest "${IMAGE_NAME}:${TAG}"
|
||||||
podman manifest push --format v2s2 "localhost/${IMAGE_NAME}:${TAG}" "docker://${FULL_IMAGE_NAME}"
|
podman manifest push --all --format v2s2 "localhost/${IMAGE_NAME}:${TAG}" "docker://${FULL_IMAGE_NAME}"
|
||||||
|
|
||||||
printf "\nImage %s published" "docker://${FULL_IMAGE_NAME}"
|
printf "\nImage %s published" "docker://${FULL_IMAGE_NAME}"
|
||||||
|
Loading…
Reference in New Issue
Block a user