From 68ee1b161e615c98f5b7ab18ee6216fcb2c2e3f7 Mon Sep 17 00:00:00 2001 From: Evandre Silva <47608734+evandresilva@users.noreply.github.com> Date: Fri, 3 Jun 2022 09:36:21 +0100 Subject: [PATCH] add cache for docker --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 31a30d22b..14e2a0b5e 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -8,7 +8,7 @@ pipelines: - step: name: 'Build Images and push to Docker hub' caches: - - node + - docker script: - export BITBUCKET_COMMIT_SHORT=$(echo $BITBUCKET_COMMIT| cut -c1-7) - export IMAGE_NAME=gabinetedigital/gdsite:$BITBUCKET_COMMIT_SHORT