some days i swap cat and echo for no good reason

closes #4591
This commit is contained in:
Jacob Heider 2023-12-24 15:21:57 -05:00
parent f1298854ec
commit 45823a1125
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -23,7 +23,7 @@ build:
test:
- regctl version | tee /dev/stderr | grep -q -w "v{{ version }}"
- OUT="$(regctl image inspect hello-world --platform linux/amd64)"
- run: cat "$OUT" | grep -q -w '"Image":'
- run: echo "$OUT" | grep -q -w '"Image":'
if: <0.5.6
- run: cat "$OUT" | grep -q -w '"/hello"'
- run: echo "$OUT" | grep -q -w '"/hello"'
if: '>=0.5.6'