Update action.yaml

This commit is contained in:
uazo 2021-07-11 12:58:46 +02:00 committed by GitHub
parent c1625b68cf
commit b9c6c689c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,8 @@ runs:
shell: bash
run: |
VERSION="${{ inputs.version }}"
IS_PRESENT=$(docker inspect --type=image uazo/chromium:$VERSION > /dev/null ; echo $?)
if [ $IS_PRESENT -ne "0" ]; then
IS_PRESENT=$(docker manifest inspect uazo/chromium:$VERSION > /dev/null ; echo $?)
if [ $IS_PRESENT -ne "0" ]; then
echo "Image not found"
@ -27,3 +29,4 @@ runs:
popd
rm -rf chr-source
fi
fi