Skip to content
Snippets Groups Projects
Commit e11bf42d authored by Andres Anaya Amariels's avatar Andres Anaya Amariels :rocket:
Browse files

staging_build_and_push_mr

parent 872bff9f
No related branches found
No related tags found
No related merge requests found
...@@ -323,9 +323,10 @@ staging_build_and_push: ...@@ -323,9 +323,10 @@ staging_build_and_push:
### staging branch merged ### ### staging branch merged ###
staging_build_and_push_mr: staging_build_and_push_mr:
stage: staging_build_and_push_mr stage: staging_build_and_push_mr
# rules: # <<: *staging_common
# - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME == "staging"' rules:
# when: always - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME == "staging"'
when: always
script: script:
- export TMP_PWD=$PWD - export TMP_PWD=$PWD
- echo "TMP_PWD=$TMP_PWD" - echo "TMP_PWD=$TMP_PWD"
...@@ -402,5 +403,4 @@ staging_build_and_push_mr: ...@@ -402,5 +403,4 @@ staging_build_and_push_mr:
- docker build -t $CI_REGISTRY/ocf/capif/staging/helper:staging . - docker build -t $CI_REGISTRY/ocf/capif/staging/helper:staging .
- docker push $CI_REGISTRY/ocf/capif/staging/helper:staging - docker push $CI_REGISTRY/ocf/capif/staging/helper:staging
- echo "----------------------------------------------------" - echo "----------------------------------------------------"
- docker logout $CI_REGISTRY - docker logout $CI_REGISTRY
<<: *staging_common \ No newline at end of file
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment