[nix-improvements] special case for Docker's "386" architecture

This commit is contained in:
Alex Auvolat 2024-02-09 12:47:03 +01:00
parent 561fad0b44
commit f7ae966ed3
No known key found for this signature in database
GPG key ID: 0E496D15096376BE

View file

@ -45,8 +45,8 @@ in
function to_docker { function to_docker {
executor \ executor \
--force \ --force \
--customPlatform="''${DOCKER_PLATFORM}" \ --customPlatform="$(echo "''${DOCKER_PLATFORM}" | sed 's/i386/386/')" \
--destination "''${CONTAINER_NAME}:''${CONTAINER_TAG}" \ --destination "$(echo "''${CONTAINER_NAME}" | sed 's/i386/386/'):''${CONTAINER_TAG}" \
--context dir://`pwd` \ --context dir://`pwd` \
--verbosity=debug --verbosity=debug
} }