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