From 15061bfaaf7f29dda5950208a0f101e1c5f3107f Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 21 Sep 2020 15:00:09 +0200 Subject: [PATCH] add tag to clean stage --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00d3567..24dd0b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,6 +64,8 @@ delete_image: script: - /usr/local/bin/reg rm -d --auth-url $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $INTERMEDIATE_IMAGE_TAG stage: clean + tags: + - docker variables: INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG REG_SHA256: ade837fc5224acd8c34732bf54a94f579b47851cc6a7fd5899a98386b782e228