summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2020-03-27 13:22:37 +0000
committerDaniel Stone <daniels@collabora.com>2020-03-27 13:23:33 +0000
commit4a8876b025b7c9aa3ec8283f31e10b835c165980 (patch)
tree0f583e79e8790c28feb5a2cf09c7ac6970118708 /.gitlab-ci
parent07885cbcdb0b19265379c3941600faadc8a22d71 (diff)
CI: Windows: Fix Docker tag argument inversion
docker tag takes its arguments as source and dest, not dest and source. Went unnoticed as the host already had a tag for my image when I was testing. Signed-off-by: Daniel Stone <daniels@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4346> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4346>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/windows/mesa_container.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/windows/mesa_container.ps1 b/.gitlab-ci/windows/mesa_container.ps1
index 5f960036508..c688451983f 100644
--- a/.gitlab-ci/windows/mesa_container.ps1
+++ b/.gitlab-ci/windows/mesa_container.ps1
@@ -27,7 +27,7 @@ if ($?) {
docker pull "$registry_central_image"
if ($?) {
Write-Host "Copying central image $registry_central_image to user image $registry_user_image"
- docker tag "$registry_user_image" "$registry_central_image"
+ docker tag "$registry_central_image" "$registry_user_image"
docker push "$registry_user_image"
$pushstatus = $?
docker logout "$registry_uri"