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 1dfb8e1 commit 6bee115
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 @@ -302,7 +302,7 @@ jobs:
exit 1
fi
## Check repository status
if kubectl get repository docker.io-library-nginx -o json | jq '.status.phase == "NotReady"' ;
if [ $(kubectl get repository docker.io-library-nginx -o json | jq '.status.phase') == '"NotReady"' ] ;
then
echo "Found repository"
else
Expand Down

0 comments on commit 6bee115

Please sign in to comment.