diff --git a/.gitlab/pipeline/build-windows.yml b/.gitlab/pipeline/build-windows.yml index 485aff66..eedf3c6e 100644 --- a/.gitlab/pipeline/build-windows.yml +++ b/.gitlab/pipeline/build-windows.yml @@ -16,10 +16,12 @@ build:windows: - docker login -u $env:CI_REGISTRY_USER -p $env:CI_REGISTRY_PASSWORD $env:CI_REGISTRY script: - (docker pull $env:CI_REGISTRY_IMAGE:latest) -or (1 -eq 1) + - echo $env:CI_REGISTRY_IMAGE:latest + - echo $env:CI_REGISTRY_IMAGE:$env":"CI_COMMIT_SHA - docker build --pull --cache-from $env:CI_REGISTRY_IMAGE:latest - --tag $env:CI_REGISTRY_IMAGE:$env:CI_COMMIT_SHA + --tag $env:CI_REGISTRY_IMAGE:$env":"CI_COMMIT_SHA -f Dockerfile.windows . - docker push $env:CI_REGISTRY_IMAGE:$env:CI_COMMIT_SHA