Update action.yaml
This commit is contained in:
parent
077fb3e9c5
commit
e58eff1173
@ -19,6 +19,8 @@ runs:
|
||||
BROMITE_SHA="${{ inputs.sha }}"
|
||||
VERSION="${{ inputs.version }}"
|
||||
|
||||
IS_PRESENT=$(docker inspect --type=image uazo/bromite:$BROMITE_SHA > /dev/null ; echo $?)
|
||||
if [ $IS_PRESENT -ne "0" ]; then
|
||||
IS_PRESENT=$(docker manifest inspect uazo/bromite:$BROMITE_SHA > /dev/null ; echo $?)
|
||||
if [ $IS_PRESENT -ne "0" ]; then
|
||||
echo "Image not found"
|
||||
@ -30,10 +32,10 @@ runs:
|
||||
|
||||
cd bromite-buildtools/images/bromite-source/
|
||||
DOCKER_BUILDKIT=1 docker build -t uazo/bromite:$BROMITE_SHA --progress plain \
|
||||
--no-cache \
|
||||
--build-arg BROMITE_SHA=$BROMITE_SHA \
|
||||
--build-arg VERSION=$VERSION \
|
||||
.
|
||||
|
||||
popd
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user