Skip to content

Commit

Permalink
docker commands with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Jul 9, 2018
1 parent 599c3c0 commit 14cffbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ if [[ $# -eq 0 ]] ; then
exit 1
fi

docker build -t zadam/trilium:latest -t zadam/trilium:$1 .
sudo docker build -t zadam/trilium:latest -t zadam/trilium:$1 .
4 changes: 2 additions & 2 deletions bin/push-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ if [[ $# -eq 0 ]] ; then
exit 1
fi

docker push zadam/trilium:latest
docker push zadam/trilium:$1
sudo docker push zadam/trilium:latest
sudo docker push zadam/trilium:$1

0 comments on commit 14cffbb

Please sign in to comment.