Skip to content

Commit

Permalink
Hotfix (#104)
Browse files Browse the repository at this point in the history
bugfix in run.sh when credentials.json is missing
  • Loading branch information
ofermend authored Jul 19, 2024
1 parent 947d581 commit 2fec733
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ fi

# Mount secrets file into docker container
mkdir -p ~/tmp/mount
cp secrets.toml ~/tmp/mount
cp credentials.json ~/tmp/mount
cp $1 ~/tmp/mount/
[ -f secrets.toml ] && cp secrets.toml ~/tmp/mount
[ -f credentials.json ] && cp credentials.json ~/tmp/mount
cp "$1" ~/tmp/mount/

# Build docker container
ARCH=$(uname -m)
Expand Down

0 comments on commit 2fec733

Please sign in to comment.