Skip to content

Commit

Permalink
test with getlastet
Browse files Browse the repository at this point in the history
  • Loading branch information
koromerzhin committed Mar 25, 2024
1 parent 35129af commit a44c100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ program
`docker build -t koromerzhin/php:${versionimage}-fpm-xdebug build/phpfpm/${versionimage} --target build-phpfpm-xdebug`
);
}
if (getLatest(options) != 'undefined') {
if (getLatest(options) != 'on') {
cmd.push(
`docker image tag koromerzhin/php:${versionimage}-fpm koromerzhin/php:fpm-latest`
);
Expand Down Expand Up @@ -126,7 +126,7 @@ program
`docker build -t koromerzhin/php:${versionimage}-apache-symfony-xdebug build/php-apache/${versionimage} --target build-php-apache-symfony-xdebug`
);
}
if (getLatest(options) != undefined) {
if (getLatest(options) == 'on') {
cmd.push(
`docker image tag koromerzhin/php:${versionimage}-apache koromerzhin/php:apache-latest`
);
Expand Down

0 comments on commit a44c100

Please sign in to comment.