Skip to content

Commit

Permalink
fix platforms override
Browse files Browse the repository at this point in the history
  • Loading branch information
ajslater committed Jan 27, 2022
1 parent 59beceb commit 7f73d0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/docker-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ export DOCKER_CLI_EXPERIMENTAL=enabled
export DOCKER_BUILDKIT=1
# login to docker using environment variables
echo "$DOCKER_PASS" | docker login --username="$DOCKER_USER" --password-stdin
# shellcheck disable=SC1091
source .env.platforms
if [[ $PLATFORMS == linux/armhf ]]; then
PLATFORMS=all # figure this out later
PLATFORMS=arm
elif [[ $(uname -m) == "x86_64" ]]; then
PLATFORMS=
elif [[ $(uname -m) == "aarch64" ]]; then
Expand Down

0 comments on commit 7f73d0f

Please sign in to comment.