.gitlab-ci.yml: fix buildah syntax for tagging images

This commit is contained in:
Jordan Petridis 2020-05-14 12:31:07 +03:00
parent 61c1680b07
commit 822706e473
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -60,7 +60,7 @@ test manifest:
- | - |
if [ "$CI_PROJECT_NAMESPACE" = "gstreamer" ]; then if [ "$CI_PROJECT_NAMESPACE" = "gstreamer" ]; then
# Tag the image with the git ref # Tag the image with the git ref
buildah images tag ${LATEST} ${_UID}-${CI_COMMIT_REF_NAME} buildah tag ${LATEST} ${_UID}-${CI_COMMIT_REF_NAME}
# Push the tags # Push the tags
buildah login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY buildah login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
buildah push ${_UID}-${CI_COMMIT_REF_NAME} buildah push ${_UID}-${CI_COMMIT_REF_NAME}