Update action.yaml
This commit is contained in:
parent
b9c6c689c2
commit
4e5b6df9d8
@ -13,6 +13,8 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
VERSION="${{ inputs.version }}"
|
VERSION="${{ inputs.version }}"
|
||||||
|
IS_PRESENT=$(docker inspect --type=image uazo/build-deps:$VERSION > /dev/null ; echo $?)
|
||||||
|
if [ $IS_PRESENT -ne "0" ]; then
|
||||||
IS_PRESENT=$(docker manifest inspect uazo/build-deps:$VERSION > /dev/null ; echo $?)
|
IS_PRESENT=$(docker manifest inspect uazo/build-deps:$VERSION > /dev/null ; echo $?)
|
||||||
if [ $IS_PRESENT -ne "0" ]; then
|
if [ $IS_PRESENT -ne "0" ]; then
|
||||||
echo "Image not found"
|
echo "Image not found"
|
||||||
@ -27,3 +29,4 @@ runs:
|
|||||||
popd
|
popd
|
||||||
rm -rf build-repo
|
rm -rf build-repo
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user