parent
3797bec39d
commit
ffd73c0f7b
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ const updateImages = (imagePath: string): string | undefined => {
|
|||
|
||||
const out = spawnSync('updateImages', [imagePath], { shell: true }).stdout.toString();
|
||||
|
||||
if (!out.startsWith('# Locked')) {
|
||||
if (out.length > 1) {
|
||||
return out;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@ writeShellApplication {
|
|||
|
||||
output="$IMAGE $TAG"
|
||||
|
||||
if ! grep "Locked" "$FILE"; then
|
||||
if ! grep "Locked" "$FILE" &> /dev/null; then
|
||||
if [[ "$CURRENT_DIGEST" != "$NEW_DIGEST" ]]; then
|
||||
echo -e "• $output:\n $CURRENT_DIGEST\n → $NEW_DIGEST\n"
|
||||
PREFETCH=$(nix-prefetch-docker "$IMAGE" "$TAG")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue