Module: Mesa
Branch: master
Commit: 4a8876b025b7c9aa3ec8283f31e10b835c165980
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a8876b025b7c9aa3ec8283f31e10b835c165980

Author: Daniel Stone <[email protected]>
Date:   Fri Mar 27 13:22:37 2020 +0000

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 <[email protected]>
Tested-by: Marge Bot 
<https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4346>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4346>

---

 .gitlab-ci/windows/mesa_container.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to