Skip to content

Commit

Permalink
Added check for the docker daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
mrj4001 committed Feb 1, 2025
1 parent a01e12b commit 70db387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions k8-buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ phases:
# Check if Docker is installed
echo "Checking if Docker is installed"
which docker
# Check for docker daemon
sudo systemctl status docker
docker build --tag $REPOSITORY_URI:$TAG .
docker push $REPOSITORY_URI:$TAG
aws eks update-kubeconfig --name $EKS_CLUSTER_NAME --region us-east-1 --role-arn $EKS_KUBECTL_ROLE_ARN
Expand Down

0 comments on commit 70db387

Please sign in to comment.