Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Varg committed Sep 13, 2024
1 parent 411e90f commit 127e17c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cross_build/build_linux64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ SCRIPT=cross_build/build_AppImage.sh

SSH_DIR="$HOME/.ssh"
HOST_VOLUMES="-v $SSH_DIR:/home/$(id -un)/.ssh"
USER_IDS=(-e BUILDER_UID="$( id -u )" -e BUILDER_GID="$( id -g )" -e BUILDER_USER="$( id -un )" -e BUILDER_GROUP="$( id -gn )")
USER_IDS="-e BUILDER_UID=$( id -u ) -e BUILDER_GID=$( id -g ) -e BUILDER_USER=$( id -un ) -e BUILDER_GROUP=$( id -gn )"
# Allow usage of fuse
DOCKER_OPTS="--cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfined"

docker run --rm -ti \
-v "$(pwd)":/work \
$HOST_VOLUMES \
$DOCKER_OPTS \
"${USER_IDS[@]}" \
$USER_IDS \
$IMAGE "/work/$SCRIPT"

0 comments on commit 127e17c

Please sign in to comment.