Skip to content

Commit

Permalink
ci: wip upgrade tests
Browse files Browse the repository at this point in the history
  • Loading branch information
donch committed Mar 19, 2024
1 parent c878732 commit a28c708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
exit 1
fi
## Check repository status
if [ $(kubectl get repository docker.io-library-nginx -o json | jq ".status.phase") == "Ready" ];
if [ "$(kubectl get repository docker.io-library-nginx -o json | jq '.status.phase')" == "Ready" ];
then
echo "Found repository"
else
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
exit 1
fi
## Check repository status
if [ $(kubectl get repository docker.io-library-nginx -o json | jq ".status.phase") == "Ready" ];
if [ "$(kubectl get repository docker.io-library-nginx -o json | jq '.status.phase')" == "Ready" ];
then
echo "Found repository"
else
Expand Down

0 comments on commit a28c708

Please sign in to comment.