diff --git a/utils/all-image-tags.php b/utils/all-image-tags.php index fc893d9..fa4cc99 100644 --- a/utils/all-image-tags.php +++ b/utils/all-image-tags.php @@ -3,7 +3,7 @@ $list = []; $fullImageList = json_decode(file_get_contents('all-images.list'), true); foreach ($fullImageList as $image) { - [$sourceType, $destinatoinType, $sourcePhpVersion, $destinationPhpVersoin, $osType, $osDestinationName, $osDestinationName, $osSource] = explode('-', $image); + [$sourceType, $destinatoinType, $sourcePhpVersion, $destinationPhpVersoin, $osType, $osDestinationName, $osSource] = explode('-', $image); foreach ([ "", "-dev", "-root", "-dev-root", "-slim", "-slim-dev", "-slim-root", "-slim-dev-root",] as $tagSuffix) { echo 'wyrihaximusnet/php:', $destinationPhpVersoin . '-' . $destinatoinType . '-' . $osDestinationName, $tagSuffix, '#', $image, PHP_EOL; } diff --git a/utils/newer-upstream-images.php b/utils/newer-upstream-images.php index 2e539de..48b11e7 100644 --- a/utils/newer-upstream-images.php +++ b/utils/newer-upstream-images.php @@ -21,7 +21,7 @@ $list = []; $fullImageList = json_decode(file_get_contents('all-images.list'), true); foreach ($fullImageList as $image) { - [$sourceType, $destinatoinType, $destinationPhpVersoin, $sourcePhpVersion, $osType, $osDestinationName, $osDestinationName, $osSource] = explode('-', $image); + [$sourceType, $destinatoinType, $destinationPhpVersoin, $sourcePhpVersion, $osType, $osDestinationName, $osSource] = explode('-', $image); $name = $destinationPhpVersoin . '-' . $destinatoinType . '-' . $osDestinationName; if (!array_key_exists($name, $images)) { continue;