Update build_bromite.yaml

This commit is contained in:
uazo 2021-07-31 11:14:16 +02:00 committed by GitHub
parent 348fbd5fed
commit 5f239bfb4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ jobs:
shell: bash
run: |
IS_PRESENT=$(docker inspect --type=image uazo/bromite-build:build > /dev/null ; echo $?)
if [ $IS_PRESENT -eq "1" ]; then
if [ $IS_PRESENT -eq "0" ]; then
docker rmi uazo/bromite-build:build
fi
docker tag uazo/bromite-build:$BROMITE_SHA uazo/bromite-build:build