mirror of
https://github.com/elyby/accounts.git
synced 2024-11-16 18:23:29 +05:30
Define vars for cleanup step
This commit is contained in:
parent
d8b68f7be0
commit
0dc8ca8c78
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user