Skip to content
Snippets Groups Projects
Commit a2c0ed2a authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: multiline before_ after_script

parent 254d6bc4
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,7 @@ stages: ...@@ -51,8 +51,7 @@ stages:
default: default:
before_script: before_script:
- | - # Login to registries
# Login to registries
if [[ -n "${EXPORT_TAG}" ]] ; then if [[ -n "${EXPORT_TAG}" ]] ; then
if [[ -n "${DH_REGISTRY}" ]] ; then if [[ -n "${DH_REGISTRY}" ]] ; then
./gitlab-ci/docker_login.sh -u ${DH_REGISTRY_USER} -p ${DH_EICWEB_TOKEN} ./gitlab-ci/docker_login.sh -u ${DH_REGISTRY_USER} -p ${DH_EICWEB_TOKEN}
...@@ -72,8 +71,7 @@ default: ...@@ -72,8 +71,7 @@ default:
fi ; fi ;
fi fi
after_script: after_script:
- | - # Logout from registries
# Logout from registries
if [[ -n "${EXPORT_TAG}" ]] ; then if [[ -n "${EXPORT_TAG}" ]] ; then
if [[ -n "${DH_REGISTRY}" ]] ; then if [[ -n "${DH_REGISTRY}" ]] ; then
docker logout ${DH_REGISTRY} docker logout ${DH_REGISTRY}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment