Skip to content

Commit

Permalink
remove sudo and add a cd, hoping to resolve the permission denied issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Janko Uehlinger committed Sep 29, 2023
1 parent c93dde1 commit 91c6d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
sudo docker run -i -d -P --name yocto -v ./data/:/data ubuntu-yocto
echo "running container in detached state"
sudo docker ps
sudo docker exec -i -w /data yocto bash -c "sudo source scripts/setup_env.sh && bitbake aurora-image-core && bitbake -c populate_sdk aurora-image-core"
sudo docker exec -i yocto bash -c "cd /data && source scripts/setup_env.sh && bitbake aurora-image-core && bitbake -c populate_sdk aurora-image-core"
#- name: Run the Yocto build in the docker container and create the SDK
Expand Down

0 comments on commit 91c6d28

Please sign in to comment.