Commit a7ea345b authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐 Committed by Benjamin Tissoires

login to registry using skopeo as well

When working with a private registry we need to login with skopeo first
to be able to check if the requested image actually exists or not.

Fix #13
Signed-off-by: Guillaume Desmottes's avatarGuillaume Desmottes <guillaume.desmottes@collabora.com>
parent 79eee02a
......@@ -207,6 +207,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
- if [[ x"$DISTRO_TAG" == x"" ]] ;
......@@ -338,6 +339,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
......
......@@ -184,6 +184,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
- if [[ x"$DISTRO_TAG" == x"" ]] ;
......
......@@ -184,6 +184,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
- if [[ x"$DISTRO_TAG" == x"" ]] ;
......
......@@ -190,6 +190,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
- if [[ x"$DISTRO_TAG" == x"" ]] ;
......
......@@ -190,6 +190,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
- if [[ x"$DISTRO_TAG" == x"" ]] ;
......@@ -317,6 +318,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
......
......@@ -190,6 +190,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
- if [[ x"$DISTRO_TAG" == x"" ]] ;
......@@ -307,6 +308,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
......
......@@ -190,6 +190,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
- if [[ x"$DISTRO_TAG" == x"" ]] ;
......@@ -316,6 +317,7 @@
script:
# log in to the registry
- podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- skopeo login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- *fdo_distro_vars
......
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