mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Define vars for cleanup step
This commit is contained in:
@@ -161,6 +161,8 @@ Remove Docker images:
|
||||
image: docker:19.03.2
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
before_script:
|
||||
- *defineVars
|
||||
script:
|
||||
- docker rmi "$APP_LATEST_IMAGE_NAME" "$APP_VERSIONED_IMAGE_NAME" || true
|
||||
- docker rmi "$WEB_LATEST_IMAGE_NAME" "$WEB_VERSIONED_IMAGE_NAME" || true
|
||||
|
Reference in New Issue
Block a user