Skip to content

Commit

Permalink
Merge pull request kata-containers#8045 from jepio/fix-docker-ownership
Browse files Browse the repository at this point in the history
local-build: Fix .docker ownership before build-payload
  • Loading branch information
GabyCT authored Sep 22, 2023
2 parents 9bb9a3e + 15425a2 commit 3ef57b3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ arch=$(uname -m)
[ "$arch" = "x86_64" ] && arch="amd64"
IMAGE_TAG="${REGISTRY}:kata-containers-$(git rev-parse HEAD)-${arch}"

sudo chown -R $USER $HOME/.docker

echo "Building the image"
docker build --tag ${IMAGE_TAG} .

Expand Down

0 comments on commit 3ef57b3

Please sign in to comment.