Commit 7b0a136e authored by Steve Azzopardi's avatar Steve Azzopardi

Merge branch 'improve-windows-helper-images-build' into 'master'

Improve windows helper images build

See merge request gitlab-org/gitlab-runner!1519
parents a49926fb 7015191f
......@@ -500,7 +500,8 @@ package-rpm: *packages
- if (Test-Path env:GPG_KEY) { Remove-Item Env:GPG_KEY }
script:
- .\ci\build_release_windows_images.ps1
dependencies:
- helper images
.release: &release
<<: *except_docs
......
......@@ -75,7 +75,7 @@ function Build-Image($tag)
'--build-arg', "GIT_LFS_256_CHECKSUM=$Env:GIT_LFS_256_CHECKSUM"
)
& 'docker' build -t "gitlab/gitlab-runner-helper:$tag" --force-rm $buildArgs -f $dockerFile $context
& 'docker' build -t "gitlab/gitlab-runner-helper:$tag" --force-rm --no-cache $buildArgs -f $dockerFile $context
if ($LASTEXITCODE -ne 0) {
throw ("Failed to build docker image" )
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment