build(docker): fix tags into docker build script
This commit is contained in:
parent
24e607429a
commit
4844669191
@ -20,7 +20,6 @@ ADD setup.py .
|
|||||||
|
|
||||||
ENV PYTHON_EGG_CACHE=/tmp/cache
|
ENV PYTHON_EGG_CACHE=/tmp/cache
|
||||||
RUN python3 setup.py install && rm -rf /src
|
RUN python3 setup.py install && rm -rf /src
|
||||||
#RUN mkdir -p ${PYTHON_EGG_CACHE}
|
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
USER 1234
|
USER 1234
|
||||||
|
@ -5,5 +5,7 @@ TAG=$(git describe)
|
|||||||
FULL_IMAGE_NAME=docker.io/cyrilix/${IMAGE_NAME}:${TAG}
|
FULL_IMAGE_NAME=docker.io/cyrilix/${IMAGE_NAME}:${TAG}
|
||||||
|
|
||||||
|
|
||||||
podman build . --platform linux/amd64,linux/arm64,linux/arm/v7 --manifest ${IMAGE_NAME}
|
podman build . --platform linux/amd64,linux/arm64,linux/arm/v7 --manifest "${IMAGE_NAME}:${TAG}"
|
||||||
podman manifest push --format v2s2 --rm "localhost/${IMAGE_NAME}" "docker://${FULL_IMAGE_NAME}"
|
podman manifest push --format v2s2 "localhost/${IMAGE_NAME}:${TAG}" "docker://${FULL_IMAGE_NAME}"
|
||||||
|
|
||||||
|
printf "\nImage %s published" "docker://${FULL_IMAGE_NAME}"
|
||||||
|
Loading…
Reference in New Issue
Block a user