diff --git a/Dockerfile b/Dockerfile index e834811..b8e7315 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,6 @@ ADD setup.py . ENV PYTHON_EGG_CACHE=/tmp/cache RUN python3 setup.py install && rm -rf /src -#RUN mkdir -p ${PYTHON_EGG_CACHE} WORKDIR /tmp USER 1234 diff --git a/build-docker.sh b/build-docker.sh index 29c24e7..f7706b9 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -5,5 +5,7 @@ TAG=$(git describe) FULL_IMAGE_NAME=docker.io/cyrilix/${IMAGE_NAME}:${TAG} -podman build . --platform linux/amd64,linux/arm64,linux/arm/v7 --manifest ${IMAGE_NAME} -podman manifest push --format v2s2 --rm "localhost/${IMAGE_NAME}" "docker://${FULL_IMAGE_NAME}" +podman build . --platform linux/amd64,linux/arm64,linux/arm/v7 --manifest "${IMAGE_NAME}:${TAG}" +podman manifest push --format v2s2 "localhost/${IMAGE_NAME}:${TAG}" "docker://${FULL_IMAGE_NAME}" + +printf "\nImage %s published" "docker://${FULL_IMAGE_NAME}"