Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn committed Dec 22, 2024
1 parent bc35254 commit 2292241
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build_and_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ fi

IMAGE_NAME=caprover/goacess

if [ ! -f ./package-lock.json ]; then
echo "package-lock.json not found!"
exit 1
fi

# BRANCH=$(git rev-parse --abbrev-ref HEAD)
# On Github the line above does not work, instead:
BRANCH=${GITHUB_REF##*/}
Expand All @@ -78,9 +73,6 @@ if [[ "$BRANCH" != "release" ]]; then
exit 1
fi

## Building frontend app
ORIG_DIR=$(pwd)

sudo apt-get update && sudo apt-get install qemu-user-static
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run --rm --privileged tonistiigi/binfmt --install all
Expand Down

0 comments on commit 2292241

Please sign in to comment.