CI: Use the correct bash syntax
345afee677770f4de89b1c4b01bc3021500d335c broke the bash extreppsion that evaluates the strings, causing images to never be pushed.
This commit is contained in:
parent
b335b4416b
commit
2ec33592e9
@ -50,7 +50,7 @@ test manifest:
|
||||
|
||||
# Push the images to the upstream registry
|
||||
- |
|
||||
if [ "$CI_COMMIT_REF_NAME" = "master" && "$CI_PROJECT_NAMESPACE" = "gstreamer" ]; then
|
||||
if [ "$CI_COMMIT_REF_NAME" = "master" -a "$CI_PROJECT_NAMESPACE" = "gstreamer" ]; then
|
||||
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||
docker push ${REF}
|
||||
docker push ${LATEST}
|
||||
|
Loading…
x
Reference in New Issue
Block a user