CI - fix docker login issue
@@ -64,6 +64,7 @@ jobs:
# Push images if PR is merged to master
- |
if [[ "$TRAVIS_BRANCH" == "master" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
- sudo docker login ghcr.io -u "$GITHUB_USERNAME" -p "$GITHUB_TOKEN"
+ sudo chown "$USER":"$USER" "$HOME"/.docker -R
+ docker login ghcr.io -u "$GITHUB_USERNAME" -p "$GITHUB_TOKEN"
./build/push_images.sh
fi
