From a2c0ed2a418059d0c867f84fcbfe0af1ac63764c Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Wed, 23 Aug 2023 18:55:21 +0000 Subject: [PATCH] fix: multiline before_ after_script --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a390bfd95..8d9c027d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,8 +51,7 @@ stages: default: before_script: - - | - # Login to registries + - # Login to registries if [[ -n "${EXPORT_TAG}" ]] ; then if [[ -n "${DH_REGISTRY}" ]] ; then ./gitlab-ci/docker_login.sh -u ${DH_REGISTRY_USER} -p ${DH_EICWEB_TOKEN} @@ -72,8 +71,7 @@ default: fi ; fi after_script: - - | - # Logout from registries + - # Logout from registries if [[ -n "${EXPORT_TAG}" ]] ; then if [[ -n "${DH_REGISTRY}" ]] ; then docker logout ${DH_REGISTRY} -- GitLab