diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-09 12:47:03 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-02-09 12:49:17 +0100 |
commit | f7ae966ed34d3ca8fb20afd2f20874dd42df7f7e (patch) | |
tree | 08336bb7610c35b7707d3c87fd3f4eac7e2b21f7 /shell.nix | |
parent | 561fad0b44f78372357c1c76e3708a062d703b33 (diff) | |
download | garage-nix-improvements.tar.gz garage-nix-improvements.zip |
[nix-improvements] special case for Docker's "386" architecturenix-improvements
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,8 +45,8 @@ in function to_docker { executor \ --force \ - --customPlatform="''${DOCKER_PLATFORM}" \ - --destination "''${CONTAINER_NAME}:''${CONTAINER_TAG}" \ + --customPlatform="$(echo "''${DOCKER_PLATFORM}" | sed 's/i386/386/')" \ + --destination "$(echo "''${CONTAINER_NAME}" | sed 's/i386/386/'):''${CONTAINER_TAG}" \ --context dir://`pwd` \ --verbosity=debug } |