diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c31f302..7fc0e30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ stages: build: stage: build script: - - "VERSION=$(docker build -t \"corysanin/clone-hero-server:latest\" . | grep \"Game Version:\"") + - "VERSION=$(docker build -t \"corysanin/clone-hero-server:latest\" . | grep \"Game Version:\")" - echo "$VERSION" - "VERSION=$(echo \"$VERSION\" | awk \"s/Game Version: //\")" - docker build -t "corysanin/clone-hero-server:$VERSION" .