fix cron pre-check
[SKIP CI]
This commit is contained in:
@@ -16,7 +16,7 @@ steps:
|
||||
image: docker
|
||||
commands:
|
||||
- docker pull php:${PHP_VERSION}-fpm-alpine
|
||||
- docker pull vistanarvas/simple-laravel:latest-${PHP_VERSION}-fpm-alpine
|
||||
- docker pull vistanarvas/simple-laravel:latest-${PHP_VERSION}
|
||||
- BASE_IMG=$(docker inspect php:${PHP_VERSION}-fpm-alpine --format='{{.Created}}' | cut -d '.' -f 1)
|
||||
- PREV_IMG=$(docker inspect vistanarvas/simple-laravel:latest-php-${PHP_VERSION} --format='{{.Created}}' | cut -d '.' -f 1)
|
||||
- BASE_DATE=$(date -D "%Y-%m-%dT%H:%M:%S" -d "$BASE_IMG" +%s)
|
||||
|
||||
Reference in New Issue
Block a user